Fixing location/contact deletion.

This commit is contained in:
stephb9959
2021-10-21 08:44:35 -07:00
parent e49cef57e6
commit f28ef3f65b
6 changed files with 9 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ namespace OpenWifi{
AddContactExtendedInfo(E, Obj);
ObjArr.add(Obj);
} else {
return BadRequest(RESTAPI::Errors::UnknownId + " ("+i+")");
return BadRequest(RESTAPI::Errors::ContactMustExist + " ("+i+")");
}
}
Poco::JSON::Object Answer;