Jump to content
McKay Development

Recommended Posts

Posted
  On 12/16/2017 at 9:46 PM, Dr. McKay said:

newEmail, not email.

this.client.changeEmail({password: "example", newEmail: "example@gmail.ru"}, (err, needsSmsCode) => {

});

It does not return anything

Posted
  On 12/17/2017 at 7:03 AM, ToXaHo said:
this.client.changeEmail({password: "example", newEmail: "example@gmail.ru"}, (err, needsSmsCode) => {

});

It does not return anything

 

callback bro. You didnt do anything

Posted
  On 12/17/2017 at 7:39 AM, xLeeJYx said:

callback bro. You didnt do anything

this.client.changeEmail({password: "example", newEmail: "example@gmail.ru"}, (err, needsSmsCode) => {
   console.log(err);
   console.log(needsSmsCode);
});

Nothing gives me, can you give more working code?

Posted
  On 12/19/2017 at 5:09 AM, ToXaHo said:

How can I get it, if nothing comes?

you should get it in a few minutes once the function is executed. im just curious if you are logged in when you use this function

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...