Update endpoints to reflect current spec

This commit is contained in:
Daniel Wagner-Hall 2015-12-02 15:45:04 +00:00
parent f721fdbf87
commit 872c134807
6 changed files with 11 additions and 35 deletions

View file

@ -29,7 +29,7 @@ logger = logging.getLogger(__name__)
class PasswordRestServlet(RestServlet):
PATTERNS = client_v2_patterns("/account/password", releases=())
PATTERNS = client_v2_patterns("/account/password")
def __init__(self, hs):
super(PasswordRestServlet, self).__init__()
@ -89,7 +89,7 @@ class PasswordRestServlet(RestServlet):
class ThreepidRestServlet(RestServlet):
PATTERNS = client_v2_patterns("/account/3pid", releases=())
PATTERNS = client_v2_patterns("/account/3pid")
def __init__(self, hs):
super(ThreepidRestServlet, self).__init__()