Adding new registration processing for signup.

This commit is contained in:
stephb9959
2022-04-26 15:28:28 -07:00
parent 078da53234
commit 2cbcdb20c8
2 changed files with 3 additions and 3 deletions

View File

@@ -170,7 +170,7 @@ namespace OpenWifi {
return true;
}
bool APConfig::ReplaceVariablesInArray( Poco::JSON::Array::Ptr & Original, Poco::JSON::Array::Ptr & ResultArray) {
bool APConfig::ReplaceVariablesInArray( const Poco::JSON::Array::Ptr & Original, Poco::JSON::Array::Ptr & ResultArray) {
for(const auto &element:*Original) {
std::cout << __LINE__ << "ELEMENT: " << element.toString() << std::endl;
if(element.isArray()) {

View File

@@ -39,8 +39,8 @@ namespace OpenWifi {
Poco::JSON::Array Explanation_;
Poco::Logger & Logger() { return Logger_;}
bool ReplaceVariablesInArray( Poco::JSON::Array::Ptr & O, Poco::JSON::Array::Ptr & Result);
bool ReplaceVariablesInObject( Poco::JSON::Object::Ptr & Original, Poco::JSON::Object::Ptr & Result);
bool ReplaceVariablesInArray( const Poco::JSON::Array::Ptr & O, Poco::JSON::Array::Ptr & Result);
bool ReplaceVariablesInObject( const Poco::JSON::Object::Ptr & Original, Poco::JSON::Object::Ptr & Result);
bool FindRadio(const std::string &Band, const Poco::JSON::Array::Ptr &Arr, Poco::JSON::Object::Ptr & Radio);
bool mergeArray(const std::string &K, const Poco::JSON::Array::Ptr &A , const Poco::JSON::Array::Ptr &B, Poco::JSON::Array &Arr);