From d86ac3cc3cfc7fcabee78e7f881014f77ce22fec Mon Sep 17 00:00:00 2001 From: "jk.pu" Date: Tue, 1 Nov 2016 11:06:18 +0900 Subject: [PATCH] [iotcon] fix issue that startCaching update cb was not invoked Change-Id: Ifb4b7e0babe672cf85066bb6fc5bc769d9a433c2 Signed-off-by: jk.pu --- src/iotcon/iotcon_api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iotcon/iotcon_api.js b/src/iotcon/iotcon_api.js index 5d6fc473..ad4b7e28 100644 --- a/src/iotcon/iotcon_api.js +++ b/src/iotcon/iotcon_api.js @@ -943,7 +943,7 @@ RemoteResource.prototype.startCaching = function() { var callArgs = prepareResourceInfo(this); var listener = function(result) { - native.callIfPossible(args.successCallback(createRepresentation(native.getResultObject(result.data)))); + native.callIfPossible(args.successCallback(createRepresentation(result.data))); } var result = native.callSync('IotconRemoteResource_startCaching', callArgs); -- 2.34.1