diff --git a/microservices/LocationsApi/Services/LocationStore.cs b/microservices/LocationsApi/Services/LocationStore.cs index 8a63434..261e33b 100644 --- a/microservices/LocationsApi/Services/LocationStore.cs +++ b/microservices/LocationsApi/Services/LocationStore.cs @@ -454,7 +454,15 @@ public class LocationStore public string OwnerUserId { get; set; } = string.Empty; - public Coord Coord { get; set; } = new(); + public CharacterCoord Coord { get; set; } = new(); + } + + [MongoDB.Bson.Serialization.Attributes.BsonIgnoreExtraElements] + private class CharacterCoord + { + public int X { get; set; } + + public int Y { get; set; } } }