mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-11-04 20:47:55 +00:00
Framework update
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user