From 62d2e414fa8b3b861d25973bb8a93f409eb5bfcb Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Mon, 27 Mar 2023 17:18:27 +0800 Subject: [PATCH] fix(nocodb): hook version type --- packages/nocodb/src/lib/models/Hook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);