Browse Source

fix: ajv schema path correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5222/head
Pranav C 2 years ago
parent
commit
a814710ae7
  1. 2
      packages/nocodb/src/lib/services/formViewService.ts

2
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({

Loading…
Cancel
Save