@budibase/worker 3.23.18 → 3.23.20

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.23.18",
4
+ "version": "3.23.20",
5
5
  "description": "Budibase background service",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -109,5 +109,5 @@
109
109
  }
110
110
  }
111
111
  },
112
- "gitHead": "923ca1f2e271e7d75262b971cbf75d79cdd17788"
112
+ "gitHead": "bf485239c1daf7f46e18273b308cacc49a07f63e"
113
113
  }
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  auth as authCore,
3
3
  db as dbCore,
4
+ configs,
4
5
  encryption,
5
6
  features,
6
7
  tenancy,
@@ -123,11 +124,14 @@ export async function getSelf(ctx: UserCtx<void, GetGlobalSelfResponse>) {
123
124
  }
124
125
  : undefined
125
126
 
127
+ const settingsConfig = await configs.getSettingsConfig()
128
+
126
129
  ctx.body = {
127
130
  ...enrichedUser,
128
131
  ...sessionAttributes,
129
132
  flags,
130
133
  llm: sanitisedLLMConfig,
134
+ lockedBy: settingsConfig?.lockedBy,
131
135
  }
132
136
  }
133
137