1
0
Fork 0
mirror of synced 2024-06-27 02:20:35 +12:00

Set on save, isSQL as well.

This commit is contained in:
mike12345567 2024-03-19 15:07:28 +00:00
parent faee609243
commit f82f6e7b3b

View file

@ -300,11 +300,11 @@ export async function save(
const fetchSchema = opts?.fetchSchema || false
const tablesFilter = opts?.tablesFilter || []
datasource = {
datasource = addDatasourceFlags({
_id: generateDatasourceID({ plus }),
...datasource,
type: plus ? DocumentType.DATASOURCE_PLUS : DocumentType.DATASOURCE,
}
})
let errors: Record<string, string> = {}
if (fetchSchema) {