From d3d1656625d033e5f64375810dca9e4f578f4229 Mon Sep 17 00:00:00 2001 From: Alvin Pergens Date: Tue, 5 Apr 2022 08:47:35 +0200 Subject: [PATCH] Fix "API key parameter 'undefined' is invalid" --- server/notification-providers/alerta.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/notification-providers/alerta.js b/server/notification-providers/alerta.js index e692b57ba..bcee80df7 100644 --- a/server/notification-providers/alerta.js +++ b/server/notification-providers/alerta.js @@ -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 = {