diff --git a/packages/nocodb/src/lib/models/Hook.ts b/packages/nocodb/src/lib/models/Hook.ts index 403bfbea9e..e24bd9a460 100644 --- a/packages/nocodb/src/lib/models/Hook.ts +++ b/packages/nocodb/src/lib/models/Hook.ts @@ -34,7 +34,7 @@ export default class Hook implements HookType { project_id?: string; base_id?: string; - version?: string; + version?: 'v1' | 'v2'; constructor(hook: Partial) { Object.assign(this, hook);