Browse Source

fix(nocodb): provide modal instead of modal id

pull/8901/head
Ramesh Mane 5 months ago
parent
commit
bc5f8a5177
  1. 2
      packages/nocodb/src/db/BaseModelSqlv2.ts

2
packages/nocodb/src/db/BaseModelSqlv2.ts

@ -295,7 +295,7 @@ class BaseModelSqlv2 {
data = await this.readByPk(...rest); data = await this.readByPk(...rest);
} else { } else {
const baseModel = await Model.getBaseModelSQL(this.context, { const baseModel = await Model.getBaseModelSQL(this.context, {
id: model.id, model,
viewId: viewId, viewId: viewId,
dbDriver: this.dbDriver, dbDriver: this.dbDriver,
}); });

Loading…
Cancel
Save