diff options
author | David Baker <dave@matrix.org> | 2016-02-03 15:04:51 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-02-03 15:04:51 +0000 |
commit | 156cea5b45acac88a030f5b469c1921a2f3573cc (patch) | |
tree | 7d277489ca454ce1c14a106694d66b0a05615c9c | |
parent | Don't return null if profile display name / avatar url isn't set: omit them i... (diff) | |
download | synapse-156cea5b45acac88a030f5b469c1921a2f3573cc.tar.xz |
No braces here
-rw-r--r-- | synapse/rest/client/v1/profile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/profile.py b/synapse/rest/client/v1/profile.py index f294f3d7ee..3c5a212920 100644 --- a/synapse/rest/client/v1/profile.py +++ b/synapse/rest/client/v1/profile.py @@ -37,7 +37,7 @@ class ProfileDisplaynameRestServlet(ClientV1RestServlet): if displayname is not None: ret["displayname"] = displayname - defer.returnValue((200, {ret})) + defer.returnValue((200, ret)) @defer.inlineCallbacks def on_PUT(self, request, user_id): |