Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/hook/api/fetchGitHubBanner.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export async function fetchGitHubBanner(usernameGitHub: string, repositoryName: string) {
try {
const response = await fetch(`https://api.github.com/repos/${usernameGitHub}/${repositoryName}/contents/src/assets/imgs`);
const response = await fetch(`https://api.github.com/repos/${usernameGitHub}/${repositoryName}/contents/public`);
if (!response.ok) {
throw new Error(`Unsuccessful request: ${response.statusText}`);
}
Expand Down