Skip to content

Commit

Permalink
Remove verbose === false
Browse files Browse the repository at this point in the history
  • Loading branch information
hanneskuettner committed Apr 30, 2024
1 parent 0fb1cd0 commit 57e7dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/utils/apply-query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ function getFilterPath(key: string, value: Record<string, any>) {
function getOperation(key: string, value: Record<string, any>): { operator: string; value: any } | null {
if (key.startsWith('_') && !['_and', '_or', '_none', '_some'].includes(key)) {
return { operator: key, value };
} else if (isPlainObject(value) === false) {
} else if (!isPlainObject(value)) {
return { operator: '_eq', value };
}

Expand Down

0 comments on commit 57e7dba

Please sign in to comment.