From f39ec26c29e78957990de1d83899c484c1b66b64 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 19 Sep 2024 13:43:55 +0200 Subject: [PATCH] UI fix --- packages/web/src/query/codeCompletion.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/src/query/codeCompletion.ts b/packages/web/src/query/codeCompletion.ts index 27754ab4..319a3ec8 100644 --- a/packages/web/src/query/codeCompletion.ts +++ b/packages/web/src/query/codeCompletion.ts @@ -81,7 +81,7 @@ export function mountCodeCompletion({ conid, database, editor, getText }) { const line = session.getLine(cursor.row).slice(0, cursor.column); const dbinfo = await getDatabaseInfo({ conid, database }); const schemaList = await getSchemaList({ conid, database }); - const connection = await getConnectionInfo(conid); + const connection = await getConnectionInfo({ conid }); const driver = findEngineDriver(connection, getExtensions()); const defaultSchema = findDefaultSchema(schemaList, driver.dialect);