@budibase/worker 2.10.12 → 2.10.15
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.10.
|
|
4
|
+
"version": "2.10.15",
|
|
5
5
|
"description": "Budibase background service",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"repository": {
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"author": "Budibase",
|
|
39
39
|
"license": "GPL-3.0",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@budibase/backend-core": "2.10.
|
|
42
|
-
"@budibase/pro": "2.10.
|
|
43
|
-
"@budibase/string-templates": "2.10.
|
|
44
|
-
"@budibase/types": "2.10.
|
|
41
|
+
"@budibase/backend-core": "2.10.15",
|
|
42
|
+
"@budibase/pro": "2.10.15",
|
|
43
|
+
"@budibase/string-templates": "2.10.15",
|
|
44
|
+
"@budibase/types": "2.10.15",
|
|
45
45
|
"@koa/router": "8.0.8",
|
|
46
46
|
"@sentry/node": "6.17.7",
|
|
47
47
|
"@techpass/passport-openidconnect": "0.3.2",
|
|
@@ -118,5 +118,5 @@
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
},
|
|
121
|
-
"gitHead": "
|
|
121
|
+
"gitHead": "1aff0770f2da0ed9c21e4079284f08587fe3ed7d"
|
|
122
122
|
}
|
|
@@ -95,7 +95,7 @@ const parseBooleanParam = (param: any) => {
|
|
|
95
95
|
export const adminUser = async (
|
|
96
96
|
ctx: Ctx<CreateAdminUserRequest, CreateAdminUserResponse>
|
|
97
97
|
) => {
|
|
98
|
-
const { email, password, tenantId } = ctx.request.body
|
|
98
|
+
const { email, password, tenantId, ssoId } = ctx.request.body
|
|
99
99
|
|
|
100
100
|
if (await platform.tenants.exists(tenantId)) {
|
|
101
101
|
ctx.throw(403, "Organisation already exists.")
|
|
@@ -136,6 +136,7 @@ export const adminUser = async (
|
|
|
136
136
|
global: true,
|
|
137
137
|
},
|
|
138
138
|
tenantId,
|
|
139
|
+
ssoId,
|
|
139
140
|
}
|
|
140
141
|
try {
|
|
141
142
|
// always bust checklist beforehand, if an error occurs but can proceed, don't get
|