From 5b454435811d98619f5299bc57a68bc43dd9c5bd Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Mon, 13 Mar 2023 18:45:05 +0800 Subject: [PATCH] fix(nocodb): ViewReq -> ViewUpdateReq --- packages/nocodb/src/lib/services/view.svc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/lib/services/view.svc.ts b/packages/nocodb/src/lib/services/view.svc.ts index 4f057641aa..b38f3cf386 100644 --- a/packages/nocodb/src/lib/services/view.svc.ts +++ b/packages/nocodb/src/lib/services/view.svc.ts @@ -38,7 +38,7 @@ export async function viewUpdate(param: { viewId: string; view: ViewUpdateReqType; }) { - validatePayload('swagger.json#/components/schemas/ViewReq', param.view); + validatePayload('swagger.json#/components/schemas/ViewUpdateReq', param.view); const result = await View.update(param.viewId, param.view); T.emit('evt', { evt_type: 'vtable:updated', show_as: result.type }); return result;