Skip to content

Commit

Permalink
Fix: Fix extension
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi authored May 6, 2024
1 parent 857d7e3 commit 1b66ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/controllers/api/charts_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ def download_chart
send_data(
chart.resources[:chart].file.download,
filename:
"#{chart.name}.#{chart.chart_type == :vusc ? "usc" : chart.chart_type}",
"#{chart.name}.#{chart.chart_type == "vusc" ? "usc" : chart.chart_type}",
type: "application/octet-stream"
)
end
Expand Down

0 comments on commit 1b66ec6

Please sign in to comment.