Skip to content

Commit

Permalink
Got those backwards
Browse files Browse the repository at this point in the history
  • Loading branch information
cavis committed Feb 16, 2024
1 parent 301db2a commit 04dbffa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/tasks/copy_media_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def porter_slice_task
ContentType: "REPLACE",
Parameters: {
CacheControl: "max-age=86400",
ContentDisposition: "attachment; filename=\"#{porter_escape(media_resource.waveform_file_name)}\""
ContentDisposition: "attachment; filename=\"#{porter_escape(media_resource.file_name)}\""
}
},
FFmpeg: {
Expand All @@ -136,7 +136,7 @@ def porter_waveform_task
ObjectKey: porter_escape(media_resource.waveform_path),
Parameters: {
CacheControl: "max-age=86400",
ContentDisposition: "attachment; filename=\"#{porter_escape(media_resource.file_name)}\"",
ContentDisposition: "attachment; filename=\"#{porter_escape(media_resource.waveform_file_name)}\"",
ContentType: "application/json"
}
},
Expand Down

0 comments on commit 04dbffa

Please sign in to comment.