diff --git a/packages/nc-gui-v2/components/webhook/Test.vue b/packages/nc-gui-v2/components/webhook/Test.vue index 1a45f1f806..0a8e8551bf 100644 --- a/packages/nc-gui-v2/components/webhook/Test.vue +++ b/packages/nc-gui-v2/components/webhook/Test.vue @@ -28,7 +28,7 @@ watch( async function loadSampleData() { sampleData.value = { - data: await $api.dbTableWebhook.samplePayloadGet(meta?.value?.id as string, hook?.operation), + data: await $api.dbTableWebhook.samplePayloadGet(meta?.value?.id as string, hook?.operation || 'insert'), } }