diff --git a/packages/nc-gui/components/webhook/Editor.vue b/packages/nc-gui/components/webhook/Editor.vue index 336fd32e29..5ad8057e39 100644 --- a/packages/nc-gui/components/webhook/Editor.vue +++ b/packages/nc-gui/components/webhook/Editor.vue @@ -15,7 +15,7 @@ import { reactive, ref, useApi, - useGlobal, + // useGlobal, useI18n, useNuxtApp, watch, @@ -35,7 +35,7 @@ const { $e } = useNuxtApp() const { api, isLoading: loading } = useApi() -const { appInfo } = useGlobal() +// const { appInfo } = useGlobal() const { hooks } = storeToRefs(useWebhooksStore()) diff --git a/packages/nocodb/src/services/hooks.service.ts b/packages/nocodb/src/services/hooks.service.ts index e9f015704f..95c9a6c730 100644 --- a/packages/nocodb/src/services/hooks.service.ts +++ b/packages/nocodb/src/services/hooks.service.ts @@ -9,7 +9,6 @@ import { populateSamplePayloadV2, } from '~/helpers/populateSamplePayload'; import { invokeWebhook } from '~/helpers/webhookHelpers'; -import Noco from '~/Noco'; import { Hook, HookLog, Model } from '~/models'; @Injectable()