Skip to content

Commit

Permalink
Woops forgot to remove scope
Browse files Browse the repository at this point in the history
  • Loading branch information
jakejarrett committed Aug 31, 2019
1 parent a0741de commit d871047
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ function authenticateUser() {

accessToken = url.substring(url.indexOf(access_tokenStr) + 13, url.indexOf(expires_inStr));

accessToken = accessToken.split('&scope=')[0];

setUserData(accessToken);
authenticationWindow.destroy();
});
Expand Down

0 comments on commit d871047

Please sign in to comment.