diff options
Diffstat (limited to 'src/Enmarcha.Backend/Controllers/TileController.cs')
| -rw-r--r-- | src/Enmarcha.Backend/Controllers/TileController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Enmarcha.Backend/Controllers/TileController.cs b/src/Enmarcha.Backend/Controllers/TileController.cs index 3fdedfb..44a2473 100644 --- a/src/Enmarcha.Backend/Controllers/TileController.cs +++ b/src/Enmarcha.Backend/Controllers/TileController.cs @@ -191,10 +191,10 @@ public class TileController : ControllerBase { return feedId switch { - "vitrasa" or "tussa" or "tranvias" => "bus", + "vitrasa" or "tussa" or "tranvias" or "shuttle" => "bus", "xunta" => "coach", "renfe" or "feve" => "train", - _ => throw new ArgumentException("Feed ID not a known type", feedId) + _ => "unknown" }; } |
