Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
fix(server): format is missing when format is uppercase in datacatalog
Browse files Browse the repository at this point in the history
  • Loading branch information
rot1024 committed Nov 15, 2023
1 parent 3e49725 commit 2fe41b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ func genericDatasetFrom(d datacatalogv2.DataCatalogItem) (plateauapi.GenericData
}

func datasetFormatFrom(f string) plateauapi.DatasetFormat {
switch f {
switch strings.ToLower(f) {
case "geojson":
return plateauapi.DatasetFormatGeojson
case "3dtiles":
Expand Down

0 comments on commit 2fe41b1

Please sign in to comment.