Location fixes
Deploy Promiscuity Auth API / deploy (push) Successful in 43s
Deploy Promiscuity Character API / deploy (push) Successful in 42s
Deploy Promiscuity Locations API / deploy (push) Successful in 56s
k8s smoke test / test (push) Successful in 6s

This commit is contained in:
2026-01-21 17:43:39 -06:00
parent fc647890a6
commit 900951b1a7
3 changed files with 11 additions and 0 deletions
@@ -42,6 +42,10 @@ public class LocationsController : ControllerBase
{
return Conflict("Coord must be unique");
}
catch (MongoWriteException ex) when (ex.WriteError.Code == 121)
{
return BadRequest("Location document failed validation");
}
return Ok(location);
}