Skip to content
Snippets Groups Projects
Commit 3daeb59a authored by Don Mitchell's avatar Don Mitchell
Browse files

Fixed missing read (cut/paste f'up)

parent c1d63919
No related branches found
Tags release-2021-05-03-16.32
No related merge requests found
......@@ -63,7 +63,7 @@ class MongoContentStore(ContentStore):
else:
with self.fs.get(content_id) as fp:
return StaticContent(
location, fp.displayname, fp.content_type, fp, last_modified_at=fp.uploadDate,
location, fp.displayname, fp.content_type, fp.read(), last_modified_at=fp.uploadDate,
thumbnail_location=getattr(fp, 'thumbnail_location', None),
import_path=getattr(fp, 'import_path', None),
length=fp.length, locked=getattr(fp, 'locked', False)
......
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