Skip to content

Commit 487ed30

Browse files
committed
removing trailing comma
1 parent ef52467 commit 487ed30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/modules/database.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class DatabaseQuery {
9696
}
9797

9898
setFilter(name, ...args) {
99-
this.filters[name] = args;
99+
this.filters[name] = args.filter(n => n != undefined);
100100
return this.ref;
101101
}
102102

0 commit comments

Comments
 (0)