@budibase/worker 3.2.16 → 3.2.18
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.2.
|
|
4
|
+
"version": "3.2.18",
|
|
5
5
|
"description": "Budibase background service",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"repository": {
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"author": "Budibase",
|
|
39
39
|
"license": "GPL-3.0",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@budibase/backend-core": "3.2.
|
|
42
|
-
"@budibase/pro": "3.2.
|
|
43
|
-
"@budibase/shared-core": "3.2.
|
|
44
|
-
"@budibase/string-templates": "3.2.
|
|
45
|
-
"@budibase/types": "3.2.
|
|
41
|
+
"@budibase/backend-core": "3.2.18",
|
|
42
|
+
"@budibase/pro": "3.2.18",
|
|
43
|
+
"@budibase/shared-core": "3.2.18",
|
|
44
|
+
"@budibase/string-templates": "3.2.18",
|
|
45
|
+
"@budibase/types": "3.2.18",
|
|
46
46
|
"@koa/router": "13.1.0",
|
|
47
47
|
"@techpass/passport-openidconnect": "0.3.3",
|
|
48
48
|
"@types/global-agent": "2.1.1",
|
|
@@ -115,5 +115,5 @@
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
},
|
|
118
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "4e35c4e81babc89c6e51fff52af95139cda570fc"
|
|
119
119
|
}
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
AddSSoUserRequest,
|
|
7
7
|
BulkUserRequest,
|
|
8
8
|
BulkUserResponse,
|
|
9
|
-
CloudAccount,
|
|
10
9
|
CreateAdminUserRequest,
|
|
11
10
|
CreateAdminUserResponse,
|
|
12
11
|
Ctx,
|
|
13
12
|
DeleteInviteUserRequest,
|
|
14
13
|
DeleteInviteUsersRequest,
|
|
14
|
+
Hosting,
|
|
15
15
|
InviteUserRequest,
|
|
16
16
|
InviteUsersRequest,
|
|
17
17
|
InviteUsersResponse,
|
|
@@ -26,7 +26,6 @@ import {
|
|
|
26
26
|
UserIdentifier,
|
|
27
27
|
} from "@budibase/types"
|
|
28
28
|
import {
|
|
29
|
-
accounts,
|
|
30
29
|
users,
|
|
31
30
|
cache,
|
|
32
31
|
ErrorCode,
|
|
@@ -192,12 +191,10 @@ export const adminUser = async (
|
|
|
192
191
|
lastName: familyName,
|
|
193
192
|
})
|
|
194
193
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
}
|
|
200
|
-
await events.identification.identifyTenantGroup(tenantId, account)
|
|
194
|
+
await events.identification.identifyTenantGroup(
|
|
195
|
+
tenantId,
|
|
196
|
+
env.SELF_HOSTED ? Hosting.SELF : Hosting.CLOUD
|
|
197
|
+
)
|
|
201
198
|
|
|
202
199
|
ctx.body = {
|
|
203
200
|
_id: finalUser._id!,
|