1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-12-12 10:13:46 +02:00

goalert needs post instead of get

This commit is contained in:
Muhammed Hussein Karimi 2022-08-24 08:46:20 +04:30
parent 055948d1b9
commit e557545c97

View File

@ -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;