From: Mu-Woong Lee Date: Mon, 27 Jun 2016 06:31:02 +0000 (+0900) Subject: custom: fix the package id json key X-Git-Tag: submit/tizen/20160628.050740^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c1579c711c26cae3b219185937f3a300c097ea68;p=platform%2Fcore%2Fcontext%2Fcontext-provider.git custom: fix the package id json key Change-Id: I84f225136666b8c9faede8181c44623ea073dab0 Signed-off-by: Mu-Woong Lee --- diff --git a/src/custom/CustomManager.cpp b/src/custom/CustomManager.cpp index 1f47c13..90dfb32 100644 --- a/src/custom/CustomManager.cpp +++ b/src/custom/CustomManager.cpp @@ -70,7 +70,7 @@ int CustomManager::write(Json data, Json *requestResult) std::string packageId; std::string name; - data.get(NULL, CUSTOM_KEY_PACKAGE_ID, &packageId); + data.get(NULL, KEY_CLIENT_PKG_ID, &packageId); data.get(NULL, CUSTOM_KEY_NAME, &name); std::string subj = std::string(SUBJ_CUSTOM) + CUSTOM_SEPERATOR + packageId + CUSTOM_SEPERATOR + name;