Skip to content

Commit 3b12eb5

Browse files
committed
Fix web tests
1 parent 862849e commit 3b12eb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/web/src/query.ts.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ export class Query {
9393
static contains = (attribute: string, value: string | string[]): string =>
9494
new Query("contains", attribute, value).toString();
9595

96-
static or = (...queries: Query[]) =>
96+
static or = (...queries: string[]) =>
9797
new Query("or", undefined, queries.map((query) => JSON.parse(query))).toString();
9898

99-
static and = (...queries: Query[]) =>
99+
static and = (...queries: string[]) =>
100100
new Query("and", undefined, queries.map((query) => JSON.parse(query))).toString();
101101
}

0 commit comments

Comments
 (0)