diff options
author | Devaev Maxim <[email protected]> | 2020-12-25 08:35:02 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-12-25 08:35:02 +0300 |
commit | 4447e49abb518a4da83d6adc16ca1bb5dcba5fae (patch) | |
tree | 3edc747b961f278de277ac794783ae2a264ba270 /web/share/js/kvm/hid.js | |
parent | 08fc4130440001c69151884e12db1b3fb259971f (diff) |
api refactoring
Diffstat (limited to 'web/share/js/kvm/hid.js')
-rw-r--r-- | web/share/js/kvm/hid.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/hid.js b/web/share/js/kvm/hid.js index bb00d4a7..abda40c5 100644 --- a/web/share/js/kvm/hid.js +++ b/web/share/js/kvm/hid.js @@ -231,7 +231,7 @@ export function Hid() { var __clickOutputsRadio = function(hid) { let output = tools.radioGetValue(`hid-outputs-${hid}-radio`); - let http = tools.makeRequest("POST", `/api/hid/${hid}/set_params?output=${output}`, function() { + let http = tools.makeRequest("POST", `/api/hid/set_params?${hid}_output=${output}`, function() { if (http.readyState === 4) { if (http.status !== 200) { wm.error("Can't configure HID:<br>", http.responseText); |