fix: use real boolean instead of aws's bool (#5313)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user