Remove genChallengeInfo and add genSelectParamsJson and genValidateParamsJson
Change-Id: Ic389fcaf52a713ff5b0fefe7025a5630d7b0f7cc
diff --git a/src/challenge-module.cpp b/src/challenge-module.cpp
index f1eb5bc..6a28866 100644
--- a/src/challenge-module.cpp
+++ b/src/challenge-module.cpp
@@ -71,10 +71,17 @@
}
JsonSection
-ChallengeModule::genRequestChallengeInfo(const std::string& interestType, const std::string& status,
- const std::list<std::string>& paramList)
+ChallengeModule::genSelectParamsJson(const std::string& status,
+ const std::list<std::string>& paramList)
{
- return genChallengeInfo(interestType, status, paramList);
+ return doGenSelectParamsJson(status, paramList);
+}
+
+JsonSection
+ChallengeModule::genValidateParamsJson(const std::string& status,
+ const std::list<std::string>& paramList)
+{
+ return doGenValidateParamsJson(status, paramList);
}
JsonSection