This commit is contained in:
jpellizzari
2017-02-23 17:46:23 -08:00
parent 68d5f75c8f
commit c249df89a0
4 changed files with 43 additions and 14 deletions

View File

@@ -304,6 +304,7 @@ export function getApiDetails(dispatch) {
}
export function doControlRequest(nodeId, control, dispatch) {
console.log(nodeId, control);
clearTimeout(controlErrorTimer);
const url = `${getApiPath()}/api/control/${encodeURIComponent(control.probeId)}/`
+ `${encodeURIComponent(control.nodeId)}/${control.id}`;