Skip to content

Conversation

@kevin1024
Copy link
Member

Github changed their API to require the auth token to be passed in the
header instead of in the URL. This required me to update the github api
dep as well as make a couple changes to adapt to the new @octokit/rest
api

Github changed their API to require the auth token to be passed in the
header instead of in the URL.  This required me to update the github api
dep as well as make a couple changes to adapt to the new `@octokit/rest`
api
@kevin1024 kevin1024 requested a review from larslevie May 6, 2021 00:04
headers: {
"User-Agent": "nodejs"
"User-Agent": "nodejs",
"Authorization": "token " + options.githubAccessToken
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Authorization": "token " + options.githubAccessToken
"Authorization": "token " + options.githubAccessToken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants