Action failed, fix issues

This commit is contained in:
RubenPX 2022-04-20 12:09:56 +02:00
parent a51cc9872d
commit 97e931e165
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ const Api = {
*/
async devices_add(lotID, listDevices) {
const queryURL = `${API_URLS.devices_modify.replace("UUID", lotID) }?${ listDevices.map(deviceID => `id=${ deviceID}`).join("&")}`;
return await Api.doRequest(queryURL, "POST", null);
return Api.doRequest(queryURL, "POST", null);
},
/**
@ -48,7 +48,7 @@ const Api = {
*/
async devices_remove(lotID, listDevices) {
const queryURL = `${API_URLS.devices_modify.replace("UUID", lotID) }?${ listDevices.map(deviceID => `id=${ deviceID}`).join("&")}`;
return await Api.doRequest(queryURL, "DELETE", null);
return Api.doRequest(queryURL, "DELETE", null);
},
/**

View File

@ -240,7 +240,7 @@
btnSelectAll.addEventListener("click", event => {
const checkedState = event.target.checked;
tableListCheckboxes.forEach(ckeckbox => ckeckbox.checked = checkedState);
tableListCheckboxes.forEach(ckeckbox => {ckeckbox.checked = checkedState});
})
/**