Skip to content

Commit

Permalink
Merge pull request #4523 from brave-intl/revert-filetype-change
Browse files Browse the repository at this point in the history
fix filetype name again
  • Loading branch information
jlbyrne authored Nov 1, 2024
2 parents 4739957 + aecc487 commit 6db9eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api/nextv1/contribution_page_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def image_properties(data)
io: File.open(original_image_path),
filename: new_filename + extension + ".padded",
# remove period from beginning of extension type
content_type: "image/#{extension}"
content_type: "image/#{extension.tr(".", "")}"
}
end

Expand Down

0 comments on commit 6db9eb3

Please sign in to comment.