aboutsummaryrefslogtreecommitdiff
path: root/src/Enmarcha.Backend/Controllers/TileController.cs
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-12-29 01:19:55 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2025-12-29 01:20:09 +0100
commit1c164a81b928f4ca200220e0111d303cad80164c (patch)
treeb8283400006a68a191fc9240bce8ba2eda3195a9 /src/Enmarcha.Backend/Controllers/TileController.cs
parenta304c24b32c0327436bbd8c2853e60668e161b42 (diff)
Ñapa: include stops in geocoding search
Diffstat (limited to 'src/Enmarcha.Backend/Controllers/TileController.cs')
-rw-r--r--src/Enmarcha.Backend/Controllers/TileController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Enmarcha.Backend/Controllers/TileController.cs b/src/Enmarcha.Backend/Controllers/TileController.cs
index 3459997..4065ecd 100644
--- a/src/Enmarcha.Backend/Controllers/TileController.cs
+++ b/src/Enmarcha.Backend/Controllers/TileController.cs
@@ -186,7 +186,7 @@ public class TileController : ControllerBase
"vitrasa" or "tussa" or "tranvias" => "bus",
"xunta" => "coach",
"renfe" or "feve" => "train",
- _ => "unknown",
+ _ => throw new ArgumentException("Feed ID not a known type", feedId)
};
}