Skip to content

Commit

Permalink
fix: GEOJSON_FIELDS retrieved as an array instead of set (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
maicol07 committed Mar 8, 2024
1 parent 4855a14 commit 13c41f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

FACET_INTERVALS = config.get('facet_intervals', {})

GEOJSON_FIELDS = config.get('geojson_fields', ['id', 'geom_length'])
GEOJSON_FIELDS = set(config.get('geojson_fields', ['id', 'geom_length']))
GEOJSON_ROWS = config.get('geojson_rows', 1000)
DEFAULT_GEOMETRY = config.get('default_geometry')
COMBINED_TYPES = {
Expand Down

0 comments on commit 13c41f0

Please sign in to comment.