summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorKrombel <krombel@krombel.de>2018-07-13 22:19:19 +0200
committerKrombel <krombel@krombel.de>2018-07-13 22:19:19 +0200
commit516f960ad8f4ae8b4fe3740baac9a63a966a2642 (patch)
tree4e4ee09a7a33214c548b57b80fb8e33e8b7c468b /synapse/rest
parentrename assert_params_in_request to assert_params_in_dict (diff)
downloadsynapse-516f960ad8f4ae8b4fe3740baac9a63a966a2642.tar.xz
add changelog
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/client/v1/directory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/directory.py b/synapse/rest/client/v1/directory.py
index c320612aea..69dcd618cb 100644
--- a/synapse/rest/client/v1/directory.py
+++ b/synapse/rest/client/v1/directory.py
@@ -18,7 +18,7 @@ import logging
 
 from twisted.internet import defer
 
-from synapse.api.errors import AuthError, SynapseError
+from synapse.api.errors import AuthError, Codes, SynapseError
 from synapse.http.servlet import parse_json_object_from_request
 from synapse.types import RoomAlias