custom: fix the package id json key 43/76743/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Mon, 27 Jun 2016 06:31:02 +0000 (15:31 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Mon, 27 Jun 2016 06:31:02 +0000 (15:31 +0900)
Change-Id: I84f225136666b8c9faede8181c44623ea073dab0
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
src/custom/CustomManager.cpp

index 1f47c13..90dfb32 100644 (file)
@@ -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;