Skip to content

Commit ad39fe3

Browse files
authored
Merge pull request #578 from swfz/feature/change-contribution-api
Contribution APIのURLを変更
2 parents 49bb4d9 + 078650b commit ad39fe3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pages/kusa/[username].tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ type Props = {
1515
};
1616

1717
const fetchContribution = async (username: string, to: string): Promise<number[]> => {
18-
console.log(`https://forked-gh-contributions.deno.dev/${username}.json?to=${to}`);
19-
20-
const res = await fetch(`https://forked-gh-contributions.deno.dev/${username}.json?to=${to}`);
18+
const res = await fetch(`https://github-contributions-api.deno.dev/${username}.json?to=${to}`);
2119
const json = await res.json();
2220

2321
const contributions = json.contributions

0 commit comments

Comments
 (0)