summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-08-12 15:40:54 +0100
committerDavid Baker <dave@matrix.org>2015-08-12 15:40:54 +0100
commit73605f80705f4a0c7271cabfee40a47c7764d72d (patch)
tree1eb88d4b97de4856661278421fbac29daa398fbe /synapse
parentRemember to yield: not much point testing is a deferred is not None (diff)
downloadsynapse-73605f80705f4a0c7271cabfee40a47c7764d72d.tar.xz
Just leaving off the $ is fine. r* == registerrrrrrrrr
Diffstat (limited to 'synapse')
-rw-r--r--synapse/rest/client/v2_alpha/register.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py
index 25dab6f9c0..e6ad35aa16 100644
--- a/synapse/rest/client/v2_alpha/register.py
+++ b/synapse/rest/client/v2_alpha/register.py
@@ -41,7 +41,7 @@ logger = logging.getLogger(__name__)
 
 
 class RegisterRestServlet(RestServlet):
-    PATTERN = client_v2_pattern("/register*")
+    PATTERN = client_v2_pattern("/register")
 
     def __init__(self, hs):
         super(RegisterRestServlet, self).__init__()