From 738fa55e12c5c62dbf53fd08fbfb1490f9cdb322 Mon Sep 17 00:00:00 2001 From: Newton <45080708+libnewton@users.noreply.github.com> Date: Sun, 7 May 2023 23:13:16 +0200 Subject: [PATCH] fix: use real boolean instead of aws's bool (#5313) --- server/models/WebhookSubscription.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/models/WebhookSubscription.ts b/server/models/WebhookSubscription.ts index 9d862a0eb..744e40b7c 100644 --- a/server/models/WebhookSubscription.ts +++ b/server/models/WebhookSubscription.ts @@ -1,5 +1,4 @@ import crypto from "crypto"; -import { bool } from "aws-sdk/clients/signer"; import { isEmpty } from "lodash"; import { SaveOptions } from "sequelize"; import { @@ -122,7 +121,7 @@ class WebhookSubscription extends ParanoidModel { * @param event Event to ceck * @returns true if event is valid */ - public validForEvent = (event: Event): bool => { + public validForEvent = (event: Event): boolean => { if (this.events.length === 1 && this.events[0] === "*") { return true; }