Browse Source

fix: use nested insert for insert api

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/6817/head
Pranav C 1 year ago
parent
commit
dd69519383
  1. 2
      packages/nocodb/src/services/datas.service.ts

2
packages/nocodb/src/services/datas.service.ts

@ -78,7 +78,7 @@ export class DatasService {
dbDriver: await NcConnectionMgrv2.get(source),
});
return await baseModel.insert(param.body, null, param.cookie);
return await baseModel.nestedInsert(param.body, null, param.cookie);
}
async dataUpdate(

Loading…
Cancel
Save