fix missing @bindThis in CacheService

This commit is contained in:
Hazelnoot 2025-06-09 11:45:20 -04:00
parent ed766e98e1
commit 646ffa7b62

View file

@ -291,6 +291,7 @@ export class CacheService implements OnApplicationShutdown {
} }
} }
@bindThis
private async onTokenEvent<E extends 'userTokenRegenerated'>(body: InternalEventTypes[E]): Promise<void> { private async onTokenEvent<E extends 'userTokenRegenerated'>(body: InternalEventTypes[E]): Promise<void> {
{ {
{ {
@ -303,6 +304,7 @@ export class CacheService implements OnApplicationShutdown {
} }
} }
@bindThis
private async onFollowEvent<E extends 'follow' | 'unfollow'>(body: InternalEventTypes[E], type: E): Promise<void> { private async onFollowEvent<E extends 'follow' | 'unfollow'>(body: InternalEventTypes[E], type: E): Promise<void> {
{ {
switch (type) { switch (type) {