Browse Source

fix(nocodb): incorrect hook create request type

pull/5317/head
Wing-Kam Wong 2 years ago
parent
commit
d1773af552
  1. 4
      packages/nc-gui/components/webhook/Editor.vue

4
packages/nc-gui/components/webhook/Editor.vue

@ -1,6 +1,6 @@
<script setup lang="ts">
import type { Ref } from 'vue'
import type { AuditType, HookType } from 'nocodb-sdk'
import type { HookReqType, HookType } from 'nocodb-sdk'
import {
Form,
MetaInj,
@ -369,7 +369,7 @@ async function saveHooks() {
...hook.notification,
payload: hook.notification.payload,
},
} as AuditType)
} as HookReqType)
}
if (!hook.id && res) {

Loading…
Cancel
Save