fixed opsgenieRegion not being the same enum between the frontend and backend (#3616)

pull/3650/head
Frank Elsinga 1 year ago committed by GitHub
parent 7bfdb82f5d
commit 1772158d62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,10 +20,10 @@ class Opsgenie extends NotificationProvider {
try { try {
switch (notification.opsgenieRegion) { switch (notification.opsgenieRegion) {
case "US": case "us":
opsgenieAlertsUrl = opsgenieAlertsUrlUS; opsgenieAlertsUrl = opsgenieAlertsUrlUS;
break; break;
case "EU": case "eu":
opsgenieAlertsUrl = opsgenieAlertsUrlEU; opsgenieAlertsUrl = opsgenieAlertsUrlEU;
break; break;
default: default:

Loading…
Cancel
Save