mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 05:14:56 -04:00
Basic implementation of backup media store
This commit is contained in:
parent
f807f7f804
commit
bf4fb1fb40
4 changed files with 130 additions and 125 deletions
|
@ -93,7 +93,7 @@ class UploadResource(Resource):
|
|||
# TODO(markjh): parse content-dispostion
|
||||
|
||||
content_uri = yield self.media_repo.create_content(
|
||||
media_type, upload_name, request.content.read(),
|
||||
media_type, upload_name, request.content,
|
||||
content_length, requester.user
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue