mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2026-03-20 03:40:31 +00:00
Adding MAP API.
This commit is contained in:
@@ -85,7 +85,7 @@ namespace OpenWifi{
|
||||
|
||||
void RESTAPI_map_handler::DoPut() {
|
||||
ProvObjects::Map Existing;
|
||||
std::string UUID = GetBinding(RESTAPI::Protocol::ID,"");
|
||||
std::string UUID = GetBinding(RESTAPI::Protocol::UUID,"");
|
||||
if(UUID.empty() || !DB_.GetRecord(RESTAPI::Protocol::ID,UUID,Existing)) {
|
||||
return NotFound();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user