From 1772158d623babfb3836604a30c7dfa027e4cb80 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sat, 19 Aug 2023 22:41:42 +0200 Subject: [PATCH] fixed opsgenieRegion not being the same enum between the frontend and backend (#3616) --- server/notification-providers/opsgenie.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/notification-providers/opsgenie.js b/server/notification-providers/opsgenie.js index 5fa7f3e4..39cdec9f 100644 --- a/server/notification-providers/opsgenie.js +++ b/server/notification-providers/opsgenie.js @@ -20,10 +20,10 @@ class Opsgenie extends NotificationProvider { try { switch (notification.opsgenieRegion) { - case "US": + case "us": opsgenieAlertsUrl = opsgenieAlertsUrlUS; break; - case "EU": + case "eu": opsgenieAlertsUrl = opsgenieAlertsUrlEU; break; default: