Skip to content

Commit

Permalink
[fix] remove heroku app (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
conradkirschner authored Jan 20, 2023
1 parent c4f2ad2 commit 9cd4e6a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion services/GitHubService.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ class GitHubService {
constructor() {
this.BASE_URL = "https://asideas-github-cache.herokuapp.com";
}
getGitHubAPIURL(owner, project) {
return `https://api.github.com/repos/${owner}/${project}`;
}

getStats(owner, project) {
return HttpService.get(this.BASE_URL + "/" + owner + "/" + project);
return HttpService.get(this.getGitHubAPIURL(owner, project));
}
}

Expand Down

0 comments on commit 9cd4e6a

Please sign in to comment.