diff options
author | Erik Johnston <erik@matrix.org> | 2016-08-02 16:45:53 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-08-02 16:45:53 +0100 |
commit | c9154b970c0af5eb19c43a401f44de95afd3f7de (patch) | |
tree | 10c56da8a2bb2d46cc397d46eadf439738f88597 /synapse/federation | |
parent | Fix response cache (diff) | |
download | synapse-c9154b970c0af5eb19c43a401f44de95afd3f7de.tar.xz |
Don't double wrap 200
Diffstat (limited to 'synapse/federation')
-rw-r--r-- | synapse/federation/federation_server.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py index 8f6955ac18..612d274bdb 100644 --- a/synapse/federation/federation_server.py +++ b/synapse/federation/federation_server.py @@ -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 |