Skip to content

Commit 2548949

Browse files
committed
fix: remove useless escape char
1 parent 0cd20c0 commit 2548949

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

services/libs/data-access-layer/src/members/queryBuilder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export const buildQuery = ({
223223
})
224224

225225
// Remove whitespace, parentheses, and basic logical operators
226-
cleanFilter = cleanFilter.replace(/[\s\(\)]/g, '').replace(/\b(and|or)\b/gi, '')
226+
cleanFilter = cleanFilter.replace(/[\s()]/g, '').replace(/\b(and|or)\b/gi, '')
227227

228228
// If nothing significant remains, it's safe
229229
return cleanFilter.length === 0

0 commit comments

Comments
 (0)