Skip to content

Commit

Permalink
Clearly delineate helper functions in code
Browse files Browse the repository at this point in the history
  • Loading branch information
eatyourgreens committed Feb 26, 2018
1 parent 3e93987 commit 5a7c56c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/oauth.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,9 @@ module.exports = new Model({
}

});

// Utility functions
/*******************************************
Utility functions
*******************************************/
function checkUrlForToken(string) {
return string.indexOf('access_token') !== -1 &&
string.indexOf('token_type=bearer') !== -1;
Expand Down

0 comments on commit 5a7c56c

Please sign in to comment.