Page MenuHomePhabricator

D4676.id15098.diff
No OneTemporary

D4676.id15098.diff

diff --git a/keyserver/src/database/database.js b/keyserver/src/database/database.js
--- a/keyserver/src/database/database.js
+++ b/keyserver/src/database/database.js
@@ -18,8 +18,9 @@
if (migrationConnection) {
return migrationConnection;
}
- const dbConfig = await getDBConfig();
- migrationConnection = await mysqlPromise.createConnection(dbConfig);
+ const { dbType, ...dbConfig } = await getDBConfig();
+ const options: ConnectionOptions = dbConfig;
+ migrationConnection = await mysqlPromise.createConnection(options);
return migrationConnection;
}

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 28, 10:08 AM (7 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2725571
Default Alt Text
D4676.id15098.diff (578 B)

Event Timeline