mirror of https://github.com/vector-im/riot-web
Update function name as per js-sdk PR feedback
parent
b78340ff51
commit
8e8e54a3bf
|
@ -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…
Reference in New Issue