diff --git a/packages/nc-gui-v2/components/webhook/Editor.vue b/packages/nc-gui-v2/components/webhook/Editor.vue index 127f2707d8..b45ccba3c9 100644 --- a/packages/nc-gui-v2/components/webhook/Editor.vue +++ b/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() {