Browse Source

chore(nc-gui): version cant be undefined

pull/5349/head
Wing-Kam Wong 2 years ago
parent
commit
a80f8fd99c
  1. 2
      packages/nc-gui/components/webhook/Test.vue

2
packages/nc-gui/components/webhook/Test.vue

@ -27,7 +27,7 @@ async function loadSampleData() {
sampleData.value = await $api.dbTableWebhook.samplePayloadGet( sampleData.value = await $api.dbTableWebhook.samplePayloadGet(
meta?.value?.id as string, meta?.value?.id as string,
hook?.operation || 'insert', hook?.operation || 'insert',
hook.version, hook.version!,
) )
} }

Loading…
Cancel
Save