@budibase/worker 3.23.36 → 3.23.38
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": "3.23.
|
|
4
|
+
"version": "3.23.38",
|
|
5
5
|
"description": "Budibase background service",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"repository": {
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "83fecbd6e6b9e5f5d26369ce51d2173801925e3a"
|
|
113
113
|
}
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
DeleteInviteUsersResponse,
|
|
31
31
|
DeleteUserResponse,
|
|
32
32
|
EditUserPermissionsResponse,
|
|
33
|
-
|
|
33
|
+
APIWarningCode,
|
|
34
34
|
FetchUsersResponse,
|
|
35
35
|
FindUserResponse,
|
|
36
36
|
GetUserInvitesResponse,
|
|
@@ -614,7 +614,7 @@ export const inviteAccept = async (
|
|
|
614
614
|
}
|
|
615
615
|
)
|
|
616
616
|
} catch (err: any) {
|
|
617
|
-
if (err.code ===
|
|
617
|
+
if (err.code === APIWarningCode.USAGE_LIMIT_EXCEEDED) {
|
|
618
618
|
// explicitly re-throw limit exceeded errors
|
|
619
619
|
ctx.throw(400, err)
|
|
620
620
|
}
|
|
@@ -50,7 +50,7 @@ describe("scim", () => {
|
|
|
50
50
|
code: "feature_disabled",
|
|
51
51
|
featureName: "scim",
|
|
52
52
|
},
|
|
53
|
-
message: "
|
|
53
|
+
message: "Feature disabled: 'scim'",
|
|
54
54
|
status: 400,
|
|
55
55
|
})
|
|
56
56
|
})
|
|
@@ -66,7 +66,7 @@ describe("scim", () => {
|
|
|
66
66
|
code: "feature_disabled",
|
|
67
67
|
featureName: "scim",
|
|
68
68
|
},
|
|
69
|
-
message: "
|
|
69
|
+
message: "Feature disabled: 'scim'",
|
|
70
70
|
status: 400,
|
|
71
71
|
})
|
|
72
72
|
})
|
|
@@ -858,7 +858,7 @@ describe("/api/global/users", () => {
|
|
|
858
858
|
})
|
|
859
859
|
|
|
860
860
|
it("should support fuzzy email fragments", async () => {
|
|
861
|
-
const email =
|
|
861
|
+
const email = structures.users.newEmail()
|
|
862
862
|
await config.createUser({ email })
|
|
863
863
|
const fragment = email.slice(3, 12)
|
|
864
864
|
const response = await config.api.users.searchUsers({
|