mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
Fix _serialize_payload
sig to match parent class
This commit is contained in:
parent
9fe554074b
commit
5286e1a26c
1 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ class CancellableReplicationEndpoint(ReplicationEndpoint):
|
|||
self.clock = hs.get_clock()
|
||||
|
||||
@staticmethod
|
||||
async def _serialize_payload() -> JsonDict:
|
||||
async def _serialize_payload(**kwargs: ReplicationEndpoint) -> JsonDict:
|
||||
return {}
|
||||
|
||||
@cancellable
|
||||
|
@ -68,7 +68,7 @@ class UncancellableReplicationEndpoint(ReplicationEndpoint):
|
|||
self.clock = hs.get_clock()
|
||||
|
||||
@staticmethod
|
||||
async def _serialize_payload() -> JsonDict:
|
||||
async def _serialize_payload(**kwargs: ReplicationEndpoint) -> JsonDict:
|
||||
return {}
|
||||
|
||||
async def _handle_request( # type: ignore[override]
|
||||
|
|
Loading…
Reference in a new issue