diff --git a/src/components/GithubStatistics.js b/src/components/GithubStatistics.js index b9d68ca..28ad5a6 100644 --- a/src/components/GithubStatistics.js +++ b/src/components/GithubStatistics.js @@ -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( @@ -281,4 +281,4 @@ const mapDispatchToProps = dispatch => ({ export default connect( null, mapDispatchToProps, -)(GithubStatistics) \ No newline at end of file +)(GithubStatistics)