From: jk.pu Date: Tue, 1 Nov 2016 02:06:18 +0000 (+0900) Subject: [iotcon] fix issue that startCaching update cb was not invoked X-Git-Tag: submit/tizen_3.0/20161102.040156~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F05%2F94605%2F2;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [iotcon] fix issue that startCaching update cb was not invoked Change-Id: Ifb4b7e0babe672cf85066bb6fc5bc769d9a433c2 Signed-off-by: jk.pu --- 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);