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

Commit

Permalink
fixup! media/create: add /create endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <[email protected]>
  • Loading branch information
sumnerevans committed Oct 24, 2023
1 parent 972fd66 commit f7cadba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/rest/media/create_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async def _async_render_POST(self, request: SynapseRequest) -> None:
)
if reached_pending_limit:
raise LimitExceededError(
limiter_name="rc_media_create",
limiter_name="max_pending_media_uploads",
retry_after_ms=first_expiration_ts - self.clock.time_msec(),
)

Expand Down

0 comments on commit f7cadba

Please sign in to comment.