Browse Source

fix(nocodb): add missing await

pull/5262/head
Wing-Kam Wong 2 years ago
parent
commit
72e3935507
  1. 2
      packages/nocodb/src/lib/utils/common/NcConnectionMgrv2.ts

2
packages/nocodb/src/lib/utils/common/NcConnectionMgrv2.ts

@ -91,7 +91,7 @@ export default class NcConnectionMgrv2 {
// }
public static async getSqlClient(base: Base, _knex = null) {
const knex = _knex || this.get(base);
const knex = _knex || (await this.get(base));
return SqlClientFactory.create({
knex,
...(await base.getConnectionConfig()),

Loading…
Cancel
Save