summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2015-02-07 12:55:13 +0000
committerMatthew Hodgson <matthew@matrix.org>2015-02-07 12:55:13 +0000
commit34c39398faddae414f50838c744cbc2e4d934a56 (patch)
tree3a859f75d971fc7e531355491aeed66354f2f44b
parentSYN-258: get_recent_events_for_room only accepts stream tokens, convert the t... (diff)
downloadsynapse-34c39398faddae414f50838c744cbc2e4d934a56.tar.xz
i hate weakly typed languages
-rw-r--r--synapse/rest/media/v1/base_resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/base_resource.py b/synapse/rest/media/v1/base_resource.py
index 688e7376ad..d44d5f1298 100644
--- a/synapse/rest/media/v1/base_resource.py
+++ b/synapse/rest/media/v1/base_resource.py
@@ -82,7 +82,7 @@ class BaseMediaResource(Resource):
             raise SynapseError(
                 404,
                 "Invalid media id token %r" % (request.postpath,),
-                Codes.UNKKOWN,
+                Codes.UNKNOWN,
             )
 
     @staticmethod