diff options
author | David Baker <dave@matrix.org> | 2015-04-24 11:44:27 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-04-24 11:44:27 +0100 |
commit | 7ac8a60c6fdd1555cc86203d7c78415d9d236661 (patch) | |
tree | b59438531f99ef0058b963c05a2aec93d3bdff07 /synapse/rest/client/v2_alpha/account.py | |
parent | Use underscores instead of camelcase for id server stuff (diff) | |
download | synapse-7ac8a60c6fdd1555cc86203d7c78415d9d236661.tar.xz |
More underscores
Diffstat (limited to 'synapse/rest/client/v2_alpha/account.py')
-rw-r--r-- | synapse/rest/client/v2_alpha/account.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/client/v2_alpha/account.py b/synapse/rest/client/v2_alpha/account.py index 4d199bbbb8..394e6b3809 100644 --- a/synapse/rest/client/v2_alpha/account.py +++ b/synapse/rest/client/v2_alpha/account.py @@ -130,7 +130,7 @@ class ThreepidRestServlet(RestServlet): 400, "Failed to auth 3pid", Codes.THREEPID_AUTH_FAILED ) - for reqd in ['medium', 'address', 'validatedAt']: + for reqd in ['medium', 'address', 'validated_at']: if reqd not in threepid: logger.warn("Couldn't add 3pid: invalid response from ID sevrer") raise SynapseError(500, "Invalid response from ID Server") @@ -139,7 +139,7 @@ class ThreepidRestServlet(RestServlet): auth_user.to_string(), threepid['medium'], threepid['address'], - threepid['validatedAt'], + threepid['validated_at'], ) if 'bind' in body and body['bind']: |