diff --git a/src/alert/condition.ts b/src/alert/condition.ts index 0e951fd..3e89a6b 100644 --- a/src/alert/condition.ts +++ b/src/alert/condition.ts @@ -62,7 +62,7 @@ class Condition { const types = ['and', 'or'] as const; if (!types.includes(operator)) { - throw Error(`Operator must be one of [${types.toString}]`); + throw Error(`Operator must be one of [${types.toString()}]`); } this._operator.type = operator;