Eve! Excellent article. Some notes...
In your code you are using token: access_token but the correct is githubToken: githubUser.access_token see the last line: carbon.now.sh/uDxspHrAqxkEGBdQXGQK
token: access_token
githubToken: githubUser.access_token
In fetch promises you forgot to add method syntax to res.json: carbon.now.sh/KPBFLjXrw6iAH4HIub4e
res.json
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Eve! Excellent article. Some notes...
In your code you are using
token: access_tokenbut the correct isgithubToken: githubUser.access_tokensee the last line: carbon.now.sh/uDxspHrAqxkEGBdQXGQKIn fetch promises you forgot to add method syntax to
res.json: carbon.now.sh/KPBFLjXrw6iAH4HIub4e