From f4ba4210e1ea1ad93dadd9eaf6eb1379d313b3a3 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Wed, 2 Oct 2024 03:32:54 +0300 Subject: fixed post params --- web/share/js/kvm/gpio.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/share/js/kvm/gpio.js b/web/share/js/kvm/gpio.js index 29e6da08..167eae92 100644 --- a/web/share/js/kvm/gpio.js +++ b/web/share/js/kvm/gpio.js @@ -211,8 +211,8 @@ export function Gpio(__recorder) { } }; - var __sendPost = function(url) { - tools.httpPost(url, function(http) { + var __sendPost = function(url, params) { + tools.httpPost(url, params, function(http) { if (http.status === 409) { wm.error("Performing another operation for this GPIO channel.
Please try again later"); } else if (http.status !== 200) { -- cgit v1.2.3