0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-06 14:48:56 +01:00

Don't double wrap 200

This commit is contained in:
Erik Johnston 2016-08-02 16:45:53 +01:00
parent b3d5c4ad9d
commit c9154b970c

View file

@ -235,10 +235,10 @@ class FederationServer(FederationBase):
) )
) )
defer.returnValue((200, { defer.returnValue({
"pdus": [pdu.get_pdu_json() for pdu in pdus], "pdus": [pdu.get_pdu_json() for pdu in pdus],
"auth_chain": [pdu.get_pdu_json() for pdu in auth_chain], "auth_chain": [pdu.get_pdu_json() for pdu in auth_chain],
})) })
@defer.inlineCallbacks @defer.inlineCallbacks
@log_function @log_function