Skip to content

Commit

Permalink
fix: whitespace crash in alteration csv
Browse files Browse the repository at this point in the history
  • Loading branch information
rikuke committed Sep 10, 2024
1 parent e1d80ac commit 1441df9
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 1441df9

Please sign in to comment.