From 67a912cfc3ae92b0be9dd6214ffdfa7c31ab0b50 Mon Sep 17 00:00:00 2001 From: charithag Date: Mon, 14 Dec 2015 17:48:58 +0530 Subject: [PATCH] Update operation module path --- .../devicemgt/app/units/iot.unit.device.operation/operation.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/features/device-mgt-iot-feature/org.wso2.carbon.device.mgt.iot.feature/src/main/resources/jaggeryapps/devicemgt/app/units/iot.unit.device.operation/operation.js b/features/device-mgt-iot-feature/org.wso2.carbon.device.mgt.iot.feature/src/main/resources/jaggeryapps/devicemgt/app/units/iot.unit.device.operation/operation.js index d438f00cbb..47e5aff43d 100644 --- a/features/device-mgt-iot-feature/org.wso2.carbon.device.mgt.iot.feature/src/main/resources/jaggeryapps/devicemgt/app/units/iot.unit.device.operation/operation.js +++ b/features/device-mgt-iot-feature/org.wso2.carbon.device.mgt.iot.feature/src/main/resources/jaggeryapps/devicemgt/app/units/iot.unit.device.operation/operation.js @@ -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};