Browse Source

fix: typo - change mets to meta

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/1149/head
Wing-Kam Wong 3 years ago
parent
commit
b931a17d26
  1. 4
      packages/nocodb/src/lib/noco/NcProjectBuilder.ts

4
packages/nocodb/src/lib/noco/NcProjectBuilder.ts

@ -696,7 +696,7 @@ export default class NcProjectBuilder {
for (const connectionConfig of dbs) { for (const connectionConfig of dbs) {
try { try {
const sqlClient = NcConnectionMgr.getSqlClient({ const sqlClient = NcConnectionMgr.getSqlClient({
dbAlias: connectionConfig?.mets?.dbAlias, dbAlias: connectionConfig?.meta?.dbAlias,
env: this.config.env, env: this.config.env,
config: this.config, config: this.config,
projectId: this.id projectId: this.id
@ -892,7 +892,7 @@ export default class NcProjectBuilder {
for (const connectionConfig of dbs) { for (const connectionConfig of dbs) {
NcConnectionMgr.delete({ NcConnectionMgr.delete({
dbAlias: connectionConfig?.mets?.dbAlias, dbAlias: connectionConfig?.meta?.dbAlias,
env: this.config.env, env: this.config.env,
projectId: this.id projectId: this.id
}); });

Loading…
Cancel
Save