@budibase/worker 3.23.18 → 3.23.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": "3.23.
|
|
4
|
+
"version": "3.23.19",
|
|
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": "
|
|
112
|
+
"gitHead": "f7d6fb730b00e7e5cd91883b5b1b15a7f6ecda1e"
|
|
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
|
|