Skip to content

Commit 9d55d2e

Browse files
committed
feat
1 parent f755a5d commit 9d55d2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controllers/DatabaseController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const validateQuery = (
111111
Object.keys(query).forEach(key => {
112112
if (query && query[key] && query[key].$regex) {
113113
if (typeof query[key].$options === 'string') {
114-
if (!query[key].$options.match(/^[imxs]+$/)) {
114+
if (!query[key].$options.match(/^[imxsu]+$/)) {
115115
throw new Parse.Error(
116116
Parse.Error.INVALID_QUERY,
117117
`Bad $options value for query: ${query[key].$options}`

0 commit comments

Comments
 (0)