Skip to content

Commit e7dc980

Browse files
committed
update extension type
1 parent 6194b1f commit e7dc980

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/api/nextv1/contribution_page_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def image_properties(data)
125125
io: File.open(original_image_path),
126126
filename: new_filename + extension + ".padded",
127127
# remove period from beginning of extension type
128-
content_type: "image/#{extension.tr(".", "")}"
128+
content_type: "image/#{extension}"
129129
}
130130
end
131131

0 commit comments

Comments
 (0)