From d9fea120fee75f77dd0eb0047d959901de4ec34a Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Mon, 13 Mar 2023 13:41:20 +0800 Subject: [PATCH] refactor(nocodb): return FormView.update --- packages/nocodb/src/lib/services/views/formView.svc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/lib/services/views/formView.svc.ts b/packages/nocodb/src/lib/services/views/formView.svc.ts index 44428be92f..0a9a4ead28 100644 --- a/packages/nocodb/src/lib/services/views/formView.svc.ts +++ b/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); }