Skip to content

Commit

Permalink
fix: typo error in project name prefix in submission-download-geojson
Browse files Browse the repository at this point in the history
  • Loading branch information
Sujanadh committed May 17, 2024
1 parent 0da2a50 commit 922a73f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/app/submissions/submission_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ async def download_submission_geojson(

featcol = geojson.FeatureCollection(features=all_features)
submission_geojson = BytesIO(json.dumps(featcol).encode("utf-8"))
filename = project.project_prefix_name
filename = project.project_name_prefix

headers = {"Content-Disposition": f"attachment; filename={filename}.geojson"}

Expand Down

0 comments on commit 922a73f

Please sign in to comment.