Update function name as per js-sdk PR feedback

pull/21833/head
David Baker 2016-07-08 17:53:06 +01:00
parent b78340ff51
commit 8e8e54a3bf
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class AddThreepid {
*/
addEmailAddress(emailAddress, bind) {
this.bind = bind;
return MatrixClientPeg.get().request3pidAddEmailToken(emailAddress, this.clientSecret, 1).then((res) => {
return MatrixClientPeg.get().requestAdd3pidEmailToken(emailAddress, this.clientSecret, 1).then((res) => {
this.sessionId = res.sid;
return res;
}, function(err) {