Browse Source

fix(gui-v2): feed notification payload to hook.api

pull/2838/head
Wing-Kam Wong 2 years ago
parent
commit
69e7b66f6b
  1. 2
      packages/nc-gui-v2/components/webhook/Editor.vue

2
packages/nc-gui-v2/components/webhook/Editor.vue

@ -261,7 +261,7 @@ function filterOption(input: string, option: Option) {
}
function setHook(newHook: any) {
Object.assign(hook, { ...newHook })
Object.assign(hook, { ...newHook, api: { ...newHook.notification.payload } })
}
async function onEventChange() {

Loading…
Cancel
Save