Making sure single table get also includes sourceId.

This commit is contained in:
mike12345567 2023-10-25 19:07:51 +01:00
parent 455b26bac9
commit fd0d8f17f2
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ export async function getTable(tableId: string): Promise<Table> {
const table = await getExternalTable(datasourceId!, tableName!)
return { ...table, sql: isSQL(datasource) }
} else {
return db.get(tableId)
return processInternalTable(await db.get<Table>(tableId))
}
}