Skip to content

Commit

Permalink
fix: allow comments in queies, fixes #519
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Jan 19, 2023
1 parent 5624b3b commit c7ab3b7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/ipc-handlers/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default (connections: {[key: string]: antares.Client}) => {

ipcMain.handle('get-structure', async (event, params) => {
try {
const structure = await connections[params.uid].getStructure(
const structure: unknown = await connections[params.uid].getStructure(
params.schemas
);

Expand Down Expand Up @@ -160,8 +160,7 @@ export default (connections: {[key: string]: antares.Client}) => {
details: true,
schema,
tabUid,
autocommit,
comments: false
autocommit
});

return { status: 'success', response: result };
Expand Down

0 comments on commit c7ab3b7

Please sign in to comment.