mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
synced 2025-11-01 03:07:59 +00:00
Fixing typo in UserInfo struct
This commit is contained in:
@@ -21,7 +21,7 @@ namespace OpenWifi {
|
||||
for (auto &i : Users) {
|
||||
Poco::JSON::Object Obj;
|
||||
if (IdOnly) {
|
||||
ArrayObj.add(i.Id);
|
||||
ArrayObj.add(i.id);
|
||||
} else {
|
||||
Sanitize(UserInfo_, i);
|
||||
i.to_json(Obj);
|
||||
@@ -39,7 +39,7 @@ namespace OpenWifi {
|
||||
if(StorageService()->SubDB().GetUserById(tI,UInfo)) {
|
||||
Poco::JSON::Object Obj;
|
||||
if (IdOnly) {
|
||||
ArrayObj.add(UInfo.Id);
|
||||
ArrayObj.add(UInfo.id);
|
||||
} else {
|
||||
Sanitize(UserInfo_, UInfo);
|
||||
UInfo.to_json(Obj);
|
||||
|
||||
Reference in New Issue
Block a user