diff options
| author | Hazelnoot <acomputerdog@gmail.com> | 2025-06-09 11:45:20 -0400 |
|---|---|---|
| committer | Hazelnoot <acomputerdog@gmail.com> | 2025-06-09 11:45:20 -0400 |
| commit | 646ffa7b622ff816a3c0e18322c73a04c4c5f48d (patch) | |
| tree | c6e2979905808d5d838e67e33c4814fe8056d3b3 /packages/backend | |
| parent | fix mixed-up userFollowingsCache / userFollowersCache (diff) | |
| download | sharkey-646ffa7b622ff816a3c0e18322c73a04c4c5f48d.tar.gz sharkey-646ffa7b622ff816a3c0e18322c73a04c4c5f48d.tar.bz2 sharkey-646ffa7b622ff816a3c0e18322c73a04c4c5f48d.zip | |
fix missing @bindThis in CacheService
Diffstat (limited to 'packages/backend')
| -rw-r--r-- | packages/backend/src/core/CacheService.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/backend/src/core/CacheService.ts b/packages/backend/src/core/CacheService.ts index 48aa464e82..2d37cd6bab 100644 --- a/packages/backend/src/core/CacheService.ts +++ b/packages/backend/src/core/CacheService.ts @@ -291,6 +291,7 @@ export class CacheService implements OnApplicationShutdown { } } + @bindThis 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> { { switch (type) { |