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 513d2af commit 190170a
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 190170a

Please sign in to comment.