diff --git a/ProjectLighthouse/Controllers/MatchController.cs b/ProjectLighthouse/Controllers/MatchController.cs index cab8ceeb..28789b9d 100644 --- a/ProjectLighthouse/Controllers/MatchController.cs +++ b/ProjectLighthouse/Controllers/MatchController.cs @@ -110,7 +110,7 @@ namespace LBPUnion.ProjectLighthouse.Controllers { FindBestRoomResponse? response = RoomHelper.FindBestRoom(user, token.UserLocation); - if (response == null) return this.BadRequest(); + if (response == null) return this.NotFound(); string serialized = JsonSerializer.Serialize(response, typeof(FindBestRoomResponse)); foreach (Player player in response.Players)