Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: githubApiToken not equal lead to bad credentials #70 #74

Merged
merged 1 commit into from
May 3, 2024

Conversation

alwqx
Copy link
Contributor

@alwqx alwqx commented Apr 29, 2024

What type of PR is this?

  • bug
  • feature
  • enhancement

What problem(s) does this PR solve?

Issue(s) number:

#70

Description:

value of githubApiToken in INITIAL_STATE and process.env.REACT_APP_GITHUB_API_TOKEN not same, which leads to miss-setting token when new `GithubFetcher(t).

And local run get 401 bad credentials

image

How do you solve it?

unify githubApiToken to btoa(process.env.REACT_APP_GITHUB_API_TOKEN)

Special notes for your reviewer, ex. impact of this fix, design document, etc:

@CLAassistant
Copy link

CLAassistant commented Apr 29, 2024

CLA assistant check
All committers have signed the CLA.

@alwqx
Copy link
Contributor Author

alwqx commented May 2, 2024

Hi, @wey-gu @nianiaJR I am sorry if bothering you and please review this pr.

@wey-gu
Copy link
Contributor

wey-gu commented May 3, 2024

Wow, Thanks so much for the great work! And welcome to the NebulaGraph community!

@wey-gu wey-gu merged commit 1cc2dfc into vesoft-inc:master May 3, 2024
1 check passed
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