From a814710ae79571023b70893285f30b629d827955 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Sat, 4 Mar 2023 18:06:47 +0530 Subject: [PATCH] fix: ajv schema path correction Signed-off-by: Pranav C --- packages/nocodb/src/lib/services/formViewService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/lib/services/formViewService.ts b/packages/nocodb/src/lib/services/formViewService.ts index 94c6f5c9a5..8fe43f82d7 100644 --- a/packages/nocodb/src/lib/services/formViewService.ts +++ b/packages/nocodb/src/lib/services/formViewService.ts @@ -12,7 +12,7 @@ export async function formViewCreate(param: { tableId: string; body: FormReqType; }) { - validatePayload('swagger.json#/components/schemas/FormCreateReq', param.body); + validatePayload('swagger.json#/components/schemas/FormReq', param.body); T.emit('evt', { evt_type: 'vtable:created', show_as: 'form' }); const view = await View.insert({