Browse Source

fix(nocodb): remove as any in Hook.update param

pull/5317/head
Wing-Kam Wong 2 years ago
parent
commit
c2e5d9ba4d
  1. 3
      packages/nocodb/src/lib/services/hook.svc.ts

3
packages/nocodb/src/lib/services/hook.svc.ts

@ -56,8 +56,7 @@ export async function hookUpdate(param: { hookId: string; hook: HookReqType }) {
validateHookPayload(param.hook.notification); validateHookPayload(param.hook.notification);
// todo: correction in swagger return await Hook.update(param.hookId, param.hook);
return await Hook.update(param.hookId, param.hook as any);
} }
export async function hookTest(param: { export async function hookTest(param: {

Loading…
Cancel
Save