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 Oct 26, 2023
1 parent c14a7de commit 152442f
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 @@ -42,7 +42,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 on_POST(self, request: SynapseRequest) -> None:
requester = await self.auth.get_user_by_req(request)
Expand Down

0 comments on commit 152442f

Please sign in to comment.