diff --git a/packages/nocodb/src/lib/services/hook.svc.ts b/packages/nocodb/src/lib/services/hook.svc.ts index 4c166f7d99..2964349bd1 100644 --- a/packages/nocodb/src/lib/services/hook.svc.ts +++ b/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); - // todo: correction in swagger - return await Hook.update(param.hookId, param.hook as any); + return await Hook.update(param.hookId, param.hook); } export async function hookTest(param: {