Skip to content

Commit

Permalink
fix(nestx): Specify Logger injection token
Browse files Browse the repository at this point in the history
  • Loading branch information
Clashsoft committed Feb 19, 2024
1 parent 30f8208 commit 9c6abfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/nestx/src/lib/event/event.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class EventService {
constructor(
@Inject('EVENT_SERVICE') private client: ClientProxy,
private eventEmitter2: EventEmitter2,
@Optional() @Inject() private logger: Logger = new Logger(EventService.name),
@Optional() @Inject(Logger) private logger = new Logger(EventService.name),
) {
}

Expand Down

0 comments on commit 9c6abfb

Please sign in to comment.