mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Don't double wrap 200
This commit is contained in:
parent
b3d5c4ad9d
commit
c9154b970c
@ -235,10 +235,10 @@ class FederationServer(FederationBase):
|
||||
)
|
||||
)
|
||||
|
||||
defer.returnValue((200, {
|
||||
defer.returnValue({
|
||||
"pdus": [pdu.get_pdu_json() for pdu in pdus],
|
||||
"auth_chain": [pdu.get_pdu_json() for pdu in auth_chain],
|
||||
}))
|
||||
})
|
||||
|
||||
@defer.inlineCallbacks
|
||||
@log_function
|
||||
|
Loading…
Reference in New Issue
Block a user