Adding preferences.

This commit is contained in:
stephb9959
2021-11-16 19:44:03 -08:00
parent 13fe7d295b
commit b3ef448628

View File

@@ -11,6 +11,7 @@ namespace OpenWifi {
SecurityObjects::Preferences P;
Poco::JSON::Object Answer;
StorageService()->GetPreferences(UserInfo_.userinfo.Id, P);
std::cout << "SIZE: " << P.data.size() << std::endl;
P.to_json(Answer);
ReturnObject(Answer);
}