Skip to content

Commit

Permalink
Merge pull request #231 from GeoNode/return_detaiurl_for_sld_and_xml
Browse files Browse the repository at this point in the history
fix default value for metadata and sld source
  • Loading branch information
giohappy committed Mar 21, 2024
2 parents a5fe355 + 404ae97 commit 269ec25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion importer/handlers/common/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def extract_params_from_data(_data, action=None):
"skip_existing_layers": _data.pop("skip_existing_layers", "False"),
"overwrite_existing_layer": _data.pop("overwrite_existing_layer", "False"),
"store_spatial_file": _data.pop("store_spatial_files", "True"),
"source": _data.pop("source", "True"),
"source": _data.pop("source", "resource_file_upload"),
}, _data

@staticmethod
Expand Down

0 comments on commit 269ec25

Please sign in to comment.