mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 11:42:03 +08:00
goalert needs post instead of get
This commit is contained in:
@@ -17,7 +17,7 @@ class GoAlert extends NotificationProvider {
|
||||
parameters["action"] = closeAction;
|
||||
}
|
||||
try {
|
||||
await axios.get(`${notification.goAlertBaseURL}/api/v2/generic/incoming`, {
|
||||
await axios.post(`${notification.goAlertBaseURL}/api/v2/generic/incoming`, {
|
||||
params: parameters,
|
||||
});
|
||||
return okMsg;
|
||||
|
Reference in New Issue
Block a user