Browse Source

fix(nocodb-sdk): incorrect type

pull/5168/head
Wing-Kam Wong 2 years ago
parent
commit
fbbc69fd72
  1. 2
      packages/nocodb-sdk/src/lib/Api.ts
  2. 4
      scripts/sdk/swagger.json

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

@ -502,7 +502,7 @@ export interface HookType {
description?: string;
env?: string;
type?: string;
event?: 'After' | 'Before';
event?: 'after' | 'before';
operation?: 'insert' | 'delete' | 'update';
async?: boolean;
payload?: string;

4
scripts/sdk/swagger.json

@ -9175,8 +9175,8 @@
"event": {
"type": "string",
"enum": [
"After",
"Before"
"after",
"before"
]
},
"operation": {

Loading…
Cancel
Save