Browse Source

refactor(nocodb): return FormView.update

pull/5269/head
Wing-Kam Wong 2 years ago
parent
commit
d9fea120fe
  1. 2
      packages/nocodb/src/lib/services/views/formView.svc.ts

2
packages/nocodb/src/lib/services/views/formView.svc.ts

@ -33,5 +33,5 @@ export async function formViewUpdate(param: {
validatePayload('swagger.json#/components/schemas/FormReq', param.body);
T.emit('evt', { evt_type: 'view:updated', type: 'grid' });
await FormView.update(param.formViewId, param.body);
return await FormView.update(param.formViewId, param.body);
}

Loading…
Cancel
Save