Browse Source

fix: type correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/6817/head
Pranav C 1 year ago
parent
commit
8eb128f09d
  1. 2
      packages/nocodb/src/db/BaseModelSqlv2.ts

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

@ -2617,7 +2617,7 @@ class BaseModelSqlv2 {
data: Record<string, any>; data: Record<string, any>;
insertObj: Record<string, any>; insertObj: Record<string, any>;
}) { }) {
const postInsertOps: ((rowId: any, trx: any) => Promise<void>)[] = []; const postInsertOps: ((rowId: any, trx?: any) => Promise<void>)[] = [];
for (const col of nestedCols) { for (const col of nestedCols) {
if (col.title in data) { if (col.title in data) {
const colOptions = await col.getColOptions<LinkToAnotherRecordColumn>(); const colOptions = await col.getColOptions<LinkToAnotherRecordColumn>();

Loading…
Cancel
Save