Moving Avatars into ORM

This commit is contained in:
stephb9959
2021-12-27 23:57:05 -08:00
parent c078bdb555
commit 6264c7f3bb
3 changed files with 12 additions and 9 deletions

View File

@@ -36,7 +36,7 @@ namespace OpenWifi {
for(auto &i:SelectedRecords()) {
SecurityObjects::UserInfo UInfo;
auto tI{i};
if(StorageService()->UserDB().GetUserById(tI,UInfo)) {
if(StorageService()->UserDB().GetUserById(i,UInfo)) {
Poco::JSON::Object Obj;
if (IdOnly) {
ArrayObj.add(UInfo.Id);