summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-10-02 03:32:54 +0300
committerMaxim Devaev <[email protected]>2024-10-02 03:32:54 +0300
commitf4ba4210e1ea1ad93dadd9eaf6eb1379d313b3a3 (patch)
tree4d2c9da58f98212e49c479d4578490c00f477821
parent4e1d9815cdf79f8bc5ad1d9c9f4057136fd6238e (diff)
fixed post params
-rw-r--r--web/share/js/kvm/gpio.js4
1 files 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.<br>Please try again later");
} else if (http.status !== 200) {