diff --git a/lib/config/v2/departures/filters/route_directions.ex b/lib/config/v2/departures/filters/route_directions.ex index 91b1258..e7ab4e7 100644 --- a/lib/config/v2/departures/filters/route_directions.ex +++ b/lib/config/v2/departures/filters/route_directions.ex @@ -24,4 +24,7 @@ defmodule ScreensConfig.V2.Departures.Filters.RouteDirections do defp value_from_json("action", "include"), do: :include defp value_from_json("action", "exclude"), do: :exclude + + defp value_from_json(_, value), do: value + defp value_to_json(_, value), do: value end