From e557545c970cebb134ca2d9be811707ba35b2f10 Mon Sep 17 00:00:00 2001 From: Muhammed Hussein Karimi Date: Wed, 24 Aug 2022 08:46:20 +0430 Subject: [PATCH] goalert needs post instead of get --- server/notification-providers/goalert.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/notification-providers/goalert.js b/server/notification-providers/goalert.js index f3ab18d5..cbd5e3d8 100644 --- a/server/notification-providers/goalert.js +++ b/server/notification-providers/goalert.js @@ -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;