Skip to content

Commit

Permalink
Yolo
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine Augusti <[email protected]>
  • Loading branch information
vdegove and AntoineAugusti authored Feb 4, 2025
1 parent 322b41b commit a7910dd
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,14 +277,12 @@ defmodule TransportWeb.API.StatsController do
end

def rendered_geojson(item) when item in [:aoms, :regions, :quality] do
query =
case item do
:aoms -> aom_features_query()
:regions -> region_features_query()
:quality -> quality_features_query()
end

query
case item do
:aoms -> aom_features_query()
:regions -> region_features_query()
:quality -> quality_features_query()
end
|>
|> Repo.all()
|> features()
|> geojson()
Expand Down

0 comments on commit a7910dd

Please sign in to comment.