@budibase/server 2.5.6-alpha.33 → 2.5.6-alpha.34
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/builder/assets/{index.f373e7e5.js → index.362628bd.js} +215 -215
- package/builder/index.html +1 -1
- package/dist/api/controllers/datasource.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -8
- package/src/api/controllers/datasource.ts +15 -5
- package/src/integration-test/postgres.spec.ts +1 -1
package/builder/index.html
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<link rel="preconnect" href="https://fonts.gstatic.com" />
|
|
9
9
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap"
|
|
10
10
|
rel="stylesheet" />
|
|
11
|
-
<script type="module" crossorigin src="/builder/assets/index.
|
|
11
|
+
<script type="module" crossorigin src="/builder/assets/index.362628bd.js"></script>
|
|
12
12
|
<link rel="stylesheet" href="/builder/assets/index.44a18341.css">
|
|
13
13
|
</head>
|
|
14
14
|
|
|
@@ -168,7 +168,7 @@ function save(ctx) {
|
|
|
168
168
|
const db = backend_core_1.context.getAppDB();
|
|
169
169
|
const plus = ctx.request.body.datasource.plus;
|
|
170
170
|
const fetchSchema = ctx.request.body.fetchSchema;
|
|
171
|
-
const datasource = Object.assign({ _id: (0, utils_1.generateDatasourceID)({ plus }), type: plus ? utils_1.DocumentType.DATASOURCE_PLUS : utils_1.DocumentType.DATASOURCE }
|
|
171
|
+
const datasource = Object.assign(Object.assign({ _id: (0, utils_1.generateDatasourceID)({ plus }) }, ctx.request.body.datasource), { type: plus ? utils_1.DocumentType.DATASOURCE_PLUS : utils_1.DocumentType.DATASOURCE });
|
|
172
172
|
let schemaError = null;
|
|
173
173
|
if (fetchSchema) {
|
|
174
174
|
const { tables, error } = yield buildSchemaHelper(datasource);
|