From b614ee46d91b929129288a25e5508953a5148865 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Fri, 14 Apr 2023 12:37:08 +0530 Subject: [PATCH] fix: webhook update api typo correction Signed-off-by: Pranav C --- packages/nocodb-nest/src/modules/hooks/hooks.controller.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/nocodb-nest/src/modules/hooks/hooks.controller.ts b/packages/nocodb-nest/src/modules/hooks/hooks.controller.ts index 2b04118573..35b8e30803 100644 --- a/packages/nocodb-nest/src/modules/hooks/hooks.controller.ts +++ b/packages/nocodb-nest/src/modules/hooks/hooks.controller.ts @@ -54,8 +54,7 @@ export class HooksController { @Patch('/api/v1/db/meta/hooks/:hookId') @Acl('hookUpdate') async hookUpdate(@Param('hookId') hookId: string, @Body() body: HookReqType) { - return; - await this.hooksService.hookUpdate({ hookId, hook: body }); + return await this.hooksService.hookUpdate({ hookId, hook: body }); } @Post('/api/v1/db/meta/tables/:tableId/hooks/test')