Update function name as per js-sdk PR feedback
parent
b78340ff51
commit
8e8e54a3bf
|
@ -38,7 +38,7 @@ class AddThreepid {
|
||||||
*/
|
*/
|
||||||
addEmailAddress(emailAddress, bind) {
|
addEmailAddress(emailAddress, bind) {
|
||||||
this.bind = 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;
|
this.sessionId = res.sid;
|
||||||
return res;
|
return res;
|
||||||
}, function(err) {
|
}, function(err) {
|
||||||
|
|
Loading…
Reference in New Issue