@budibase/server 2.7.7 → 2.7.9

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/server",
3
3
  "email": "hi@budibase.com",
4
- "version": "2.7.7",
4
+ "version": "2.7.9",
5
5
  "description": "Budibase Web Server",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -46,12 +46,12 @@
46
46
  "license": "GPL-3.0",
47
47
  "dependencies": {
48
48
  "@apidevtools/swagger-parser": "10.0.3",
49
- "@budibase/backend-core": "2.7.7",
50
- "@budibase/client": "2.7.7",
51
- "@budibase/pro": "2.7.7",
52
- "@budibase/shared-core": "2.7.7",
53
- "@budibase/string-templates": "2.7.7",
54
- "@budibase/types": "2.7.7",
49
+ "@budibase/backend-core": "2.7.9",
50
+ "@budibase/client": "2.7.9",
51
+ "@budibase/pro": "2.7.9",
52
+ "@budibase/shared-core": "2.7.9",
53
+ "@budibase/string-templates": "2.7.9",
54
+ "@budibase/types": "2.7.9",
55
55
  "@bull-board/api": "3.7.0",
56
56
  "@bull-board/koa": "3.9.4",
57
57
  "@elastic/elasticsearch": "7.10.0",
@@ -195,5 +195,5 @@
195
195
  }
196
196
  }
197
197
  },
198
- "gitHead": "3aa830178a362fde18fe913c7997f9a38a990f43"
198
+ "gitHead": "434f2c09066e92b3f81cafef982e8e36487c2c7a"
199
199
  }
@@ -135,7 +135,7 @@ export function mergeConfigs(update: Datasource, old: Datasource) {
135
135
  // specific to REST datasources, fix the auth configs again if required
136
136
  if (hasAuthConfigs(update)) {
137
137
  const configs = update.config.authConfigs as RestAuthConfig[]
138
- const oldConfigs = old.config?.authConfigs as RestAuthConfig[]
138
+ const oldConfigs = (old.config?.authConfigs as RestAuthConfig[]) || []
139
139
  for (let config of configs) {
140
140
  if (config.type !== RestAuthType.BASIC) {
141
141
  continue