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;