Fixing typo in UserInfo struct

This commit is contained in:
stephb9959
2022-01-05 22:16:25 -08:00
parent 08a50db13c
commit f8c6dad974
18 changed files with 93 additions and 72 deletions

View File

@@ -20,7 +20,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);
@@ -38,7 +38,7 @@ namespace OpenWifi {
if(StorageService()->UserDB().GetUserById(i,UInfo)) {
Poco::JSON::Object Obj;
if (IdOnly) {
ArrayObj.add(UInfo.Id);
ArrayObj.add(UInfo.id);
} else {
Sanitize(UserInfo_, UInfo);
UInfo.to_json(Obj);