Browse Source

fix: webhook update api typo correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5444/head
Pranav C 1 year ago
parent
commit
b614ee46d9
  1. 3
      packages/nocodb-nest/src/modules/hooks/hooks.controller.ts

3
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')

Loading…
Cancel
Save