Update function name as per js-sdk PR feedback
This commit is contained in:
parent
b78340ff51
commit
8e8e54a3bf
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue