Set on save, isSQL as well.

This commit is contained in:
mike12345567 2024-03-19 15:07:28 +00:00
parent faee609243
commit f82f6e7b3b
1 changed files with 2 additions and 2 deletions

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) {