Skip to content
Snippets Groups Projects
Unverified Commit 5c826c40 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix image type not being set after conversion for convertible image types (#20624)

parent 167d86d2
No related branches found
No related tags found
No related merge requests found
......@@ -82,6 +82,7 @@ class MediaAttachment < ApplicationRecord
IMAGE_CONVERTED_STYLES = {
original: {
format: 'jpeg',
content_type: 'image/jpeg',
}.merge(IMAGE_STYLES[:original]).freeze,
small: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment