mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-09 22:13:54 +08:00
fixed opsgenieRegion not being the same enum between the frontend and backend (#3616)
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user