diff --git a/packages/nc-gui-v2/components/webhook/Editor.vue b/packages/nc-gui-v2/components/webhook/Editor.vue index 9d646352a4..1539e62a71 100644 --- a/packages/nc-gui-v2/components/webhook/Editor.vue +++ b/packages/nc-gui-v2/components/webhook/Editor.vue @@ -576,14 +576,11 @@ onMounted(() => {
- Available context variables are data and user + Use context variable data to refer the record under consideration diff --git a/packages/nc-gui-v2/components/webhook/Test.vue b/packages/nc-gui-v2/components/webhook/Test.vue index bd0ae39c34..e1ab3cc54a 100644 --- a/packages/nc-gui-v2/components/webhook/Test.vue +++ b/packages/nc-gui-v2/components/webhook/Test.vue @@ -18,7 +18,6 @@ const meta = inject(MetaInj) const sampleData = ref({ data: {}, - user: {}, }) const activeKey = ref(0) @@ -32,7 +31,6 @@ watch( async function loadSampleData() { sampleData.value = { data: await $api.dbTableWebhook.samplePayloadGet(meta?.value?.id as string, hook?.operation), - user: $state.user.value as Record, } }