Skip to content

Commit

Permalink
fix(cmdb-ui):triggers webhook headers (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-liang0615 authored Feb 26, 2024
1 parent 7474a92 commit ef1d0c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmdb-ui/src/modules/cmdb/components/webhook/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ export default {
} catch {}
const headers = {}
this.$refs.Header.headers.forEach((item) => {
headers[item.key] = item.value
if (item.key) {
headers[item.key] = item.value
}
})
let authorization = {}
const type = this.$refs.Authorization.authorizationType
Expand Down

0 comments on commit ef1d0c3

Please sign in to comment.