summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/WebhookService.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/WebhookService.ts
parentfixes (diff)
downloadsharkey-c8f6bc0dabcbe119533ef8f0edfb35d9405818c8.tar.gz
sharkey-c8f6bc0dabcbe119533ef8f0edfb35d9405818c8.tar.bz2
sharkey-c8f6bc0dabcbe119533ef8f0edfb35d9405818c8.zip
fixes
Diffstat (limited to 'packages/backend/src/core/WebhookService.ts')
-rw-r--r--packages/backend/src/core/WebhookService.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/WebhookService.ts b/packages/backend/src/core/WebhookService.ts
index 347b2b16c4..1a690314f8 100644
--- a/packages/backend/src/core/WebhookService.ts
+++ b/packages/backend/src/core/WebhookService.ts
@@ -32,7 +32,7 @@ export class WebhookService implements OnApplicationShutdown {
return this.webhooks;
}
- private async onMessage(_, data) {
+ private async onMessage(_: string, data: string): Promise<void> {
const obj = JSON.parse(data);
if (obj.channel === 'internal') {