summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <dawagner@gmail.com>2015-12-16 17:59:44 +0100
committerDaniel Wagner-Hall <dawagner@gmail.com>2015-12-16 17:59:44 +0100
commit2b0f8a948286424212e79b9ac5d22d5be6707f1f (patch)
treed2dc911d3c870f65f75a346f75ef0b2a32f34c5a
parentMerge pull request #446 from matrix-org/daniel/invitemetadata (diff)
downloadsynapse-2b0f8a948286424212e79b9ac5d22d5be6707f1f.tar.xz
Fix typo
Diffstat (limited to '')
-rw-r--r--synapse/http/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/server.py b/synapse/http/server.py
index 1b936b6892..682b6b379b 100644
--- a/synapse/http/server.py
+++ b/synapse/http/server.py
@@ -129,7 +129,7 @@ def request_handler(request_handler):
                         500,
                         {
                             "error": "Internal server error",
-                            "errcode": Codes.M_UNKNOWN,
+                            "errcode": Codes.UNKNOWN,
                         },
                         send_cors=True
                     )