Skip to content

Commit

Permalink
fix: bad credentials vesoft-inc#70
Browse files Browse the repository at this point in the history
  • Loading branch information
tm_yangxy committed Jan 18, 2024
1 parent e4c7d94 commit f44a73c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/GithubStatistics.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class GithubStatistics extends React.Component {
/* eslint-disable-next-line */
var t = btoa(GITHUB_API_TOKEN)
/* eslint-disable-next-line */
this.fetcher = new GithubFetcher(btoa(t))
this.fetcher = new GithubFetcher(t)
this.props.updateState("githubApiToken", t)

this.search = _.debounce(
Expand Down Expand Up @@ -281,4 +281,4 @@ const mapDispatchToProps = dispatch => ({
export default connect(
null,
mapDispatchToProps,
)(GithubStatistics)
)(GithubStatistics)

0 comments on commit f44a73c

Please sign in to comment.