Fixing framework.

This commit is contained in:
stephb9959
2022-04-14 11:15:56 -04:00
parent 1737486466
commit 7448074b5f
2 changed files with 3 additions and 0 deletions

View File

@@ -60,6 +60,7 @@ namespace OpenWifi {
if (!StorageService()->AvatarDB().GetAvatar(UserInfo_.userinfo.email, Id, AvatarContent, Type, Name)) {
return NotFound();
}
Logger().information(fmt::format("REST Avatar size: {}",AvatarContent.size()));
Logger().information(fmt::format("Retrieving avatar for {}",UserInfo_.userinfo.email));
return SendFileContent(AvatarContent, Type, Name);
}