@budibase/worker 2.23.7 → 2.23.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.23.
|
|
4
|
+
"version": "2.23.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.23.
|
|
41
|
-
"@budibase/pro": "2.23.
|
|
42
|
-
"@budibase/string-templates": "2.23.
|
|
43
|
-
"@budibase/types": "2.23.
|
|
40
|
+
"@budibase/backend-core": "2.23.9",
|
|
41
|
+
"@budibase/pro": "2.23.9",
|
|
42
|
+
"@budibase/string-templates": "2.23.9",
|
|
43
|
+
"@budibase/types": "2.23.9",
|
|
44
44
|
"@koa/router": "8.0.8",
|
|
45
45
|
"@techpass/passport-openidconnect": "0.3.2",
|
|
46
46
|
"@types/global-agent": "2.1.1",
|
|
@@ -108,5 +108,5 @@
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "90609c97ad49b770b3b5b8092bb724041339e28e"
|
|
112
112
|
}
|
|
@@ -116,7 +116,8 @@ const parseBooleanParam = (param: any) => {
|
|
|
116
116
|
export const adminUser = async (
|
|
117
117
|
ctx: Ctx<CreateAdminUserRequest, CreateAdminUserResponse>
|
|
118
118
|
) => {
|
|
119
|
-
const { email, password, tenantId, ssoId } =
|
|
119
|
+
const { email, password, tenantId, ssoId, givenName, familyName } =
|
|
120
|
+
ctx.request.body
|
|
120
121
|
|
|
121
122
|
if (await platform.tenants.exists(tenantId)) {
|
|
122
123
|
ctx.throw(403, "Organisation already exists.")
|
|
@@ -151,6 +152,8 @@ export const adminUser = async (
|
|
|
151
152
|
ssoId,
|
|
152
153
|
hashPassword,
|
|
153
154
|
requirePassword,
|
|
155
|
+
firstName: givenName,
|
|
156
|
+
lastName: familyName,
|
|
154
157
|
})
|
|
155
158
|
|
|
156
159
|
// events
|