summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/MetaService.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-09-24 07:12:11 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2022-09-24 07:12:11 +0900
commitc8f6bc0dabcbe119533ef8f0edfb35d9405818c8 (patch)
tree985c31a1235bfa299160624f22ed0ac130e3b60f /packages/backend/src/core/MetaService.ts
parentfixes (diff)
downloadsharkey-c8f6bc0dabcbe119533ef8f0edfb35d9405818c8.tar.gz
sharkey-c8f6bc0dabcbe119533ef8f0edfb35d9405818c8.tar.bz2
sharkey-c8f6bc0dabcbe119533ef8f0edfb35d9405818c8.zip
fixes
Diffstat (limited to 'packages/backend/src/core/MetaService.ts')
-rw-r--r--packages/backend/src/core/MetaService.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/MetaService.ts b/packages/backend/src/core/MetaService.ts
index 1744f64217..c3d41bfccb 100644
--- a/packages/backend/src/core/MetaService.ts
+++ b/packages/backend/src/core/MetaService.ts
@@ -34,7 +34,7 @@ export class MetaService implements OnApplicationShutdown {
this.redisSubscriber.on('message', this.onMessage);
}
- private async onMessage(_, data): Promise<void> {
+ private async onMessage(_: string, data: string): Promise<void> {
const obj = JSON.parse(data);
if (obj.channel === 'internal') {