@budibase/worker 2.10.12-alpha.9 → 2.10.14

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.12-alpha.9",
4
+ "version": "2.10.14",
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.12-alpha.9",
42
- "@budibase/pro": "2.10.12-alpha.9",
43
- "@budibase/string-templates": "2.10.12-alpha.9",
44
- "@budibase/types": "2.10.12-alpha.9",
41
+ "@budibase/backend-core": "2.10.14",
42
+ "@budibase/pro": "2.10.14",
43
+ "@budibase/string-templates": "2.10.14",
44
+ "@budibase/types": "2.10.14",
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": "842f7329c4bcbdb5c2b355733e706b59c293a0e6"
121
+ "gitHead": "ab7ca87cce8a1e9acefb6386486fecefd18a97c1"
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
@@ -10,8 +10,6 @@ import {
10
10
  import { TestConfiguration } from "../../../../tests"
11
11
  import { events } from "@budibase/backend-core"
12
12
 
13
- // this test can 409 - retries reduce issues with this
14
- jest.retryTimes(2)
15
13
  jest.setTimeout(30000)
16
14
 
17
15
  mocks.licenses.useScimIntegration()
@@ -14,6 +14,7 @@ function buildAdminInitValidation() {
14
14
  email: Joi.string().required(),
15
15
  password: Joi.string(),
16
16
  tenantId: Joi.string().required(),
17
+ ssoId: Joi.string(),
17
18
  })
18
19
  .required()
19
20
  .unknown(false)