You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to run resumeLogin in my background.js on a chrome extension I get the error: ?d41d:51 Uncaught (in promise) TypeError: asteroid.resumeLogin is not a function
The code that I am using is:
const Asteroid = createClass();
const asteroid = new Asteroid({
endpoint: 'ws://localhost:3000/websocket'
});
asteroid.resumeLogin().then(userId => {
console.log(userId);
});
Any suggestions on how to do this?
The text was updated successfully, but these errors were encountered:
When I try to run resumeLogin in my background.js on a chrome extension I get the error:
?d41d:51 Uncaught (in promise) TypeError: asteroid.resumeLogin is not a function
The code that I am using is:
Any suggestions on how to do this?
The text was updated successfully, but these errors were encountered: