Skip to content

Commit 9639e82

Browse files
Fixed transient scope error.
1 parent 1cdb0d1 commit 9639e82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/logger/logger.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { Injectable, Scope, Inject, Optional } from '@nestjs/common';
1+
import { Injectable, Inject, Optional } from '@nestjs/common';
22
import { formatLog, colors } from './colors';
33

44
/**
55
* Injectable logger service for context-aware logging.
66
* Usage: inject LoggerService and call .info(), .warn(), etc.
77
*/
8-
@Injectable({ scope: Scope.TRANSIENT })
8+
@Injectable()
99
export class LoggerService {
1010
private context?: string;
1111

0 commit comments

Comments
 (0)