Skip to content

Commit 713f618

Browse files
authored
Fix content-type in ThumbnailGenerator (#80)
1 parent 493dcc5 commit 713f618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlalchemy_file/processors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def process(self, file: "File", upload_storage: Optional[str] = None) -> None:
120120
"height": height,
121121
}
122122
)
123-
extra.update({"meta_data": metadata})
123+
extra.update({"content_type": content_type, "meta_data": metadata})
124124
stored_file = file.store_content(
125125
output, upload_storage, extra=extra, headers=file.get("headers", None)
126126
)

0 commit comments

Comments
 (0)