add missing bindThis() to OnModuleInit / OnApplicationShutdown handlers
This commit is contained in:
parent
92466ed569
commit
7c8d09f1c9
9 changed files with 9 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ export class UserBlockingService implements OnModuleInit {
|
|||
this.logger = this.loggerService.getLogger('user-block');
|
||||
}
|
||||
|
||||
@bindThis
|
||||
onModuleInit() {
|
||||
this.userFollowingService = this.moduleRef.get('UserFollowingService');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue