mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-30 18:24:03 +00:00
goalert needs post instead of get
This commit is contained in:
parent
055948d1b9
commit
e557545c97
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class GoAlert extends NotificationProvider {
|
||||||
parameters["action"] = closeAction;
|
parameters["action"] = closeAction;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
await axios.get(`${notification.goAlertBaseURL}/api/v2/generic/incoming`, {
|
await axios.post(`${notification.goAlertBaseURL}/api/v2/generic/incoming`, {
|
||||||
params: parameters,
|
params: parameters,
|
||||||
});
|
});
|
||||||
return okMsg;
|
return okMsg;
|
||||||
|
|
Loading…
Reference in a new issue