Skip to content

Commit

Permalink
fix: whitespace crash in alteration csv (#3306)
Browse files Browse the repository at this point in the history
  • Loading branch information
rikuke authored Sep 12, 2024
1 parent b0b70ee commit 535794e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/benefit/applications/api/v1/application_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ def _alterations_csv_response(
csv_service = ApplicationAlterationCsvService(queryset, config, user)

response = HttpResponse(
csv_service.get_csv_string(True).encode("utf-8"),
csv_service.get_csv_string(False).encode("utf-8"),
content_type="text/csv",
)
response["Content-Disposition"] = "attachment; filename={filename}.csv".format(
Expand Down

0 comments on commit 535794e

Please sign in to comment.