Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Remove re-assignment of self.clock in UploadResource
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <[email protected]>
  • Loading branch information
sumnerevans committed Aug 14, 2023
1 parent 6fc411c commit 8b41d78
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion synapse/rest/media/upload_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ def __init__(self, hs: "HomeServer", media_repo: "MediaRepository"):
self.clock = hs.get_clock()
self.auth = hs.get_auth()
self.max_upload_size = hs.config.media.max_upload_size
self.clock = hs.get_clock()

async def _async_render_OPTIONS(self, request: SynapseRequest) -> None:
respond_with_json(request, 200, {}, send_cors=True)
Expand Down

0 comments on commit 8b41d78

Please sign in to comment.