@budibase/worker 2.15.5 → 2.15.7
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.15.
|
|
4
|
+
"version": "2.15.7",
|
|
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.15.
|
|
41
|
-
"@budibase/pro": "2.15.
|
|
42
|
-
"@budibase/string-templates": "2.15.
|
|
43
|
-
"@budibase/types": "2.15.
|
|
40
|
+
"@budibase/backend-core": "2.15.7",
|
|
41
|
+
"@budibase/pro": "2.15.7",
|
|
42
|
+
"@budibase/string-templates": "2.15.7",
|
|
43
|
+
"@budibase/types": "2.15.7",
|
|
44
44
|
"@koa/router": "8.0.8",
|
|
45
45
|
"@techpass/passport-openidconnect": "0.3.2",
|
|
46
46
|
"@types/global-agent": "2.1.1",
|
|
@@ -106,5 +106,5 @@
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "aebdcd1a9fc607da8ab7500f4042c686383f3666"
|
|
110
110
|
}
|
|
@@ -91,6 +91,9 @@ export async function getSelf(ctx: any) {
|
|
|
91
91
|
id: userId,
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
+
// Adjust creators quotas (prevents wrong creators count if user has changed the plan)
|
|
95
|
+
await groups.adjustGroupCreatorsQuotas()
|
|
96
|
+
|
|
94
97
|
// get the main body of the user
|
|
95
98
|
const user = await userSdk.db.getUser(userId)
|
|
96
99
|
ctx.body = await groups.enrichUserRolesFromGroups(user)
|
package/src/environment.ts
CHANGED
|
@@ -55,6 +55,7 @@ const environment = {
|
|
|
55
55
|
CHECKLIST_CACHE_TTL: parseIntSafe(process.env.CHECKLIST_CACHE_TTL) || 3600,
|
|
56
56
|
SESSION_UPDATE_PERIOD: process.env.SESSION_UPDATE_PERIOD,
|
|
57
57
|
ENCRYPTED_TEST_PUBLIC_API_KEY: process.env.ENCRYPTED_TEST_PUBLIC_API_KEY,
|
|
58
|
+
SESSION_EXPIRY_SECONDS: process.env.SESSION_EXPIRY_SECONDS,
|
|
58
59
|
/**
|
|
59
60
|
* Mock the email service in use - links to ethereal hosted emails are logged instead.
|
|
60
61
|
*/
|