@budibase/worker 2.22.16 → 2.22.19

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.22.16",
4
+ "version": "2.22.19",
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.22.16",
41
- "@budibase/pro": "2.22.16",
42
- "@budibase/string-templates": "2.22.16",
43
- "@budibase/types": "2.22.16",
40
+ "@budibase/backend-core": "2.22.19",
41
+ "@budibase/pro": "2.22.19",
42
+ "@budibase/string-templates": "2.22.19",
43
+ "@budibase/types": "2.22.19",
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": "4a14e2ae9fdbc95da043dae51af41e53a7cd8bb8"
111
+ "gitHead": "f5efdae93ad588ffa0ddad93e0a2e6ec198c51cb"
112
112
  }
@@ -146,16 +146,12 @@ export const adminUser = async (
146
146
  }
147
147
 
148
148
  try {
149
- const finalUser = await userSdk.db.createAdminUser(
150
- email,
151
- tenantId,
149
+ const finalUser = await userSdk.db.createAdminUser(email, tenantId, {
152
150
  password,
153
- {
154
- ssoId,
155
- hashPassword,
156
- requirePassword,
157
- }
158
- )
151
+ ssoId,
152
+ hashPassword,
153
+ requirePassword,
154
+ })
159
155
 
160
156
  // events
161
157
  let account: CloudAccount | undefined