Framework update

This commit is contained in:
stephb9959
2022-01-05 22:24:55 -08:00
parent d421cf365e
commit a860ec8389
7 changed files with 126 additions and 54 deletions

View File

@@ -10,7 +10,7 @@
namespace OpenWifi{
void RESTAPI_map_list_handler::DoGet() {
if(GetBoolParameter("myMaps",false)) {
auto where = StorageService()->MapDB().OP("creator",ORM::EQ,UserInfo_.userinfo.Id);
auto where = StorageService()->MapDB().OP("creator",ORM::EQ,UserInfo_.userinfo.id);
std::vector<ProvObjects::Map> Maps;
StorageService()->MapDB().GetRecords(QB_.Offset,QB_.Limit,Maps,where);
return MakeJSONObjectArray("list", Maps, *this);