Update operation module path

charithag 9 years ago
parent ffe2302583
commit 67a912cfc3

@ -1,6 +1,5 @@
function onRequest(context) {
var log = new Log("iot-operation.js");
var operationModule = require("/modules/operation.js").operationModule;
var operationModule = require("/app/modules/operation.js").operationModule;
var device = context.unit.params.device;
var control_operations = operationModule.getControlOperations(device.type);
return {"control_operations": control_operations, "device": device};

Loading…
Cancel
Save