fix upload render issue (#304)

This commit is contained in:
Alexander Bocken 2021-11-23 15:53:24 +01:00
parent 7a6a53b116
commit 16e7ff70f8
No known key found for this signature in database
GPG key ID: 1D237BE83F9B05E8

View file

@ -214,7 +214,7 @@ class Upload(object):
self.file_keys["key"]["k"],
self.file_keys["hashes"]["sha256"],
self.file_keys["iv"],
mimetype=self.file_keys.get("mimetype"),
mime=self.file_keys.get("mimetype"),
)
return Render.media(self.content_uri, self.file_name)