summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-04-24 11:27:38 +0100
committerDavid Baker <dave@matrix.org>2015-04-24 11:27:38 +0100
commita21861962608726a5fe443762421c80119517778 (patch)
tree9b5ba7684facf3662a0a08df2baf2b1c9ed2683e /synapse/rest/client/v2_alpha
parentpep8 (diff)
downloadsynapse-a21861962608726a5fe443762421c80119517778.tar.xz
Use underscores instead of camelcase for id server stuff
Diffstat (limited to 'synapse/rest/client/v2_alpha')
-rw-r--r--synapse/rest/client/v2_alpha/register.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py
index e93897e285..dd176c7e77 100644
--- a/synapse/rest/client/v2_alpha/register.py
+++ b/synapse/rest/client/v2_alpha/register.py
@@ -136,11 +136,11 @@ class RegisterRestServlet(RestServlet):
                 logger.info("bind_email specified: binding")
 
                 emailThreepid = result[LoginType.EMAIL_IDENTITY]
-                threepidCreds = emailThreepid['threepidCreds']
+                threepid_creds = emailThreepid['threepid_creds']
                 logger.debug("Binding emails %s to %s" % (
                     emailThreepid, user_id
                 ))
-                yield self.identity_handler.bind_threepid(threepidCreds, user_id)
+                yield self.identity_handler.bind_threepid(threepid_creds, user_id)
             else:
                 logger.info("bind_email not specified: not binding email")