Browse Source

fix: make webhoook type field nullable

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5222/head
Pranav C 2 years ago
parent
commit
90c0480e88
  1. 2
      packages/nocodb-sdk/src/lib/Api.ts
  2. 2
      packages/nocodb/src/schema/swagger.json

2
packages/nocodb-sdk/src/lib/Api.ts

@ -1076,7 +1076,7 @@ export interface HookReqType {
*/ */
title: string; title: string;
/** Hook Type */ /** Hook Type */
type?: string; type?: string | null;
} }
/** /**

2
packages/nocodb/src/schema/swagger.json

@ -9852,7 +9852,7 @@
"example": "My Webhook" "example": "My Webhook"
}, },
"type": { "type": {
"type": "string", "type": ["string", "null"],
"description": "Hook Type" "description": "Hook Type"
} }
}, },

Loading…
Cancel
Save