Merge pull request #1456 from Arubinu/alerta

Fix "API key parameter 'undefined' is invalid"
This commit is contained in:
Louis Lam 2022-04-05 22:51:33 +08:00 committed by GitHub
commit c9deea9fdf
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 = {
headers: {
"Content-Type": "application/json;charset=UTF-8",
"Authorization": "Key " + notification.alertaapiKey,
"Authorization": "Key " + notification.alertaApiKey,
}
};
let data = {