Skip to content

Commit

Permalink
Merge pull request #4524 from brave-intl/revert-filename
Browse files Browse the repository at this point in the history
remove .padded from the filename
  • Loading branch information
jlbyrne authored Nov 4, 2024
2 parents 6db9eb3 + a74100e commit 12f8a4e
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 @@ -123,7 +123,7 @@ def image_properties(data)
new_filename = generate_filename(source_image_path: original_image_path)
{
io: File.open(original_image_path),
filename: new_filename + extension + ".padded",
filename: new_filename + extension,
# remove period from beginning of extension type
content_type: "image/#{extension.tr(".", "")}"
}
Expand Down

0 comments on commit 12f8a4e

Please sign in to comment.