fix(cmdb-ui):triggers webhook headers (#402)

This commit is contained in:
dagongren
2024-02-26 13:46:40 +08:00
committed by GitHub
parent 513d2af4b8
commit 190170acad

View File

@@ -88,7 +88,9 @@ export default {
} catch {} } catch {}
const headers = {} const headers = {}
this.$refs.Header.headers.forEach((item) => { this.$refs.Header.headers.forEach((item) => {
if (item.key) {
headers[item.key] = item.value headers[item.key] = item.value
}
}) })
let authorization = {} let authorization = {}
const type = this.$refs.Authorization.authorizationType const type = this.$refs.Authorization.authorizationType