Adding MAP API.

This commit is contained in:
stephb9959
2021-11-11 13:45:42 -08:00
parent ec472dcb51
commit bed73a5b02
2 changed files with 2 additions and 2 deletions

View File

@@ -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();
}