Browse Source

fix(nocodb): hook version type

pull/5349/head
Wing-Kam Wong 2 years ago
parent
commit
62d2e414fa
  1. 2
      packages/nocodb/src/lib/models/Hook.ts

2
packages/nocodb/src/lib/models/Hook.ts

@ -34,7 +34,7 @@ export default class Hook implements HookType {
project_id?: string; project_id?: string;
base_id?: string; base_id?: string;
version?: string; version?: 'v1' | 'v2';
constructor(hook: Partial<Hook | HookReqType>) { constructor(hook: Partial<Hook | HookReqType>) {
Object.assign(this, hook); Object.assign(this, hook);

Loading…
Cancel
Save