mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 20:46:01 +00:00
sql generator in connection process
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
|
||||
async function generatePreview(options, objects) {
|
||||
busy = true;
|
||||
const response = await axiosInstance.post('sqlgen/preview', { conid, database, objects, options });
|
||||
const response = await axiosInstance.post('database-connections/sql-preview', { conid, database, objects, options });
|
||||
if (_.isString(response.data)) {
|
||||
sqlPreview = response.data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user