Fix "API key parameter 'undefined' is invalid"

This commit is contained in:
Alvin Pergens 2022-04-05 08:47:35 +02:00 committed by GitHub
parent 99042e6991
commit d3d1656625
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ class Alerta extends NotificationProvider {
let config = { let config = {
headers: { headers: {
"Content-Type": "application/json;charset=UTF-8", "Content-Type": "application/json;charset=UTF-8",
"Authorization": "Key " + notification.alertaapiKey, "Authorization": "Key " + notification.alertaApiKey,
} }
}; };
let data = { let data = {