@budibase/worker 3.16.1 → 3.17.1

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.16.1",
4
+ "version": "3.17.1",
5
5
  "description": "Budibase background service",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -115,5 +115,5 @@
115
115
  }
116
116
  }
117
117
  },
118
- "gitHead": "6e6f06e392e69521daaf3f68263cf8c5e7978e03"
118
+ "gitHead": "cdf45e122b198e4d763dd4f0d6cbcfe547441fb6"
119
119
  }
@@ -126,7 +126,7 @@ export async function getSelf(ctx: UserCtx<void, GetGlobalSelfResponse>) {
126
126
  }
127
127
  : undefined
128
128
 
129
- if (flags?.WORKSPACE_APPS) {
129
+ if (flags?.WORKSPACES) {
130
130
  // TODO: once the flag is clean, we should rename the original object instead
131
131
  sessionAttributes.license.quotas[QuotaType.USAGE][QuotaUsageType.STATIC][
132
132
  StaticQuotaName.APPS
@@ -250,7 +250,8 @@ export const adminUser = async (
250
250
 
251
251
  await events.identification.identifyTenantGroup(
252
252
  tenantId,
253
- env.SELF_HOSTED ? Hosting.SELF : Hosting.CLOUD
253
+ env.SELF_HOSTED ? Hosting.SELF : Hosting.CLOUD,
254
+ Date.now()
254
255
  )
255
256
 
256
257
  ctx.body = {