From e5772a604635d5f55ceb2af827a12b6f1e45852e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Chirico=20Indreb=C3=B8?= Date: Fri, 26 Apr 2024 10:25:14 +0200 Subject: [PATCH] Allow tags in several decks in missions --- backend/api/Controllers/MissionSchedulingController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/api/Controllers/MissionSchedulingController.cs b/backend/api/Controllers/MissionSchedulingController.cs index 07e7d8e1c..a70f54655 100644 --- a/backend/api/Controllers/MissionSchedulingController.cs +++ b/backend/api/Controllers/MissionSchedulingController.cs @@ -285,7 +285,8 @@ [FromBody] ScheduledMissionQuery scheduledMissionQuery { missionDeck ??= missionArea.Deck; - if (missionDeck != missionArea.Deck) { return BadRequest("The mission spans multiple decks"); } + if (missionDeck != missionArea.Deck) + logger.LogWarning($"Mission {echoMission.Name} has tags in both deck {missionDeck.Name} and {missionArea.Deck.Name}."); } Area? area = null;