Skip to content

Commit 1f2130f

Browse files
committed
update
1 parent 917d7f0 commit 1f2130f

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/schema/validator.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ function validateClientFilters(client_filters: any) {
5454
}
5555

5656
for (const filter of client_filters) {
57-
if (typeof filter.type !== "object") {
58-
throw new TypeError("Client filter must be an object.");
59-
}
6057
if (typeof filter.name !== "string") {
6158
throw new TypeError("Client filter name must be a string.");
6259
}

0 commit comments

Comments
 (0)