@budibase/worker 2.32.8 → 2.32.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/worker",
|
|
3
3
|
"email": "hi@budibase.com",
|
|
4
|
-
"version": "2.32.
|
|
4
|
+
"version": "2.32.9",
|
|
5
5
|
"description": "Budibase background service",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"repository": {
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"author": "Budibase",
|
|
38
38
|
"license": "GPL-3.0",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@budibase/backend-core": "2.32.
|
|
41
|
-
"@budibase/pro": "2.32.
|
|
42
|
-
"@budibase/string-templates": "2.32.
|
|
43
|
-
"@budibase/types": "2.32.
|
|
40
|
+
"@budibase/backend-core": "2.32.9",
|
|
41
|
+
"@budibase/pro": "2.32.9",
|
|
42
|
+
"@budibase/string-templates": "2.32.9",
|
|
43
|
+
"@budibase/types": "2.32.9",
|
|
44
44
|
"@koa/router": "8.0.8",
|
|
45
45
|
"@techpass/passport-openidconnect": "0.3.3",
|
|
46
46
|
"@types/global-agent": "2.1.1",
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "c3d1bac34a42f0707e0cba968a4df9f58fa5088e"
|
|
111
111
|
}
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "@budibase/backend-core"
|
|
38
38
|
import { checkAnyUserExists } from "../../../utilities/users"
|
|
39
39
|
import { isEmailConfigured } from "../../../utilities/email"
|
|
40
|
-
import { BpmStatusKey, BpmStatusValue } from "@budibase/shared-core"
|
|
40
|
+
import { BpmStatusKey, BpmStatusValue, utils } from "@budibase/shared-core"
|
|
41
41
|
|
|
42
42
|
const MAX_USERS_UPLOAD_LIMIT = 1000
|
|
43
43
|
|
|
@@ -256,7 +256,7 @@ export const search = async (ctx: Ctx<SearchUsersRequest>) => {
|
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
// Validate we aren't trying to search on any illegal fields
|
|
259
|
-
if (!
|
|
259
|
+
if (!utils.isSupportedUserSearch(body.query)) {
|
|
260
260
|
ctx.throw(400, "Can only search by string.email, equal._id or oneOf._id")
|
|
261
261
|
}
|
|
262
262
|
}
|