Skip to content

Commit

Permalink
Adjust api link
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasOsman committed May 11, 2024
1 parent cea22cb commit 82b4ce0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/BlogDetail.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const BlogDetail = () => {
const fetchIssue = async () => {
try {
const response = await fetch(
`https://api.github.com/repos/nakujaproject/internship2024/issues/${issueNumber}`,
`https://api.github.com/repos/nakujaproject/NakujaProject-web/issues/${issueNumber}`,
);
const data = await response.json();
setIssue(data);
Expand All @@ -23,7 +23,7 @@ const BlogDetail = () => {
const fetchComments = async () => {
try {
const response = await fetch(
`https://api.github.com/repos/nakujaproject/internship2024/issues/${issueNumber}/comments`,
`https://api.github.com/repos/nakujaproject/NakujaProject-web/issues/${issueNumber}/comments`,
);
const data = await response.json();
setComments(data);
Expand Down

0 comments on commit 82b4ce0

Please sign in to comment.