fixed post params

This commit is contained in:
Maxim Devaev 2024-10-02 03:32:54 +03:00
parent 4e1d9815cd
commit f4ba4210e1

View File

@ -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) {