Skip to content

Commit

Permalink
fix: 잘못 정의된 endpoint 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chysis committed Jul 25, 2024
1 parent ee51a36 commit 8a8ea48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/apis/endpoints.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const endPoint = {
postingReview: `${process.env.API_BASE_URL}/reviews`,
gettingDetailedReview: (reviewId: number, memberId: number) =>
`${process.env.API_BASE_URL}reviews/${reviewId}?memberId=${memberId}`,
gettingDataToWriteReview: (reviewerGroupId: number) => `${process.env.API_BASE_URL}reviews/write/${reviewerGroupId}`,
`${process.env.API_BASE_URL}/reviews/${reviewId}?memberId=${memberId}`,
gettingDataToWriteReview: (reviewerGroupId: number) => `${process.env.API_BASE_URL}/reviews/write/${reviewerGroupId}`,
gettingReviewList: (revieweeId: number, lastReviewId: number, memberId: number) =>
`${process.env.API_BASE_URL}/reviews?revieweeId=${revieweeId}&lastReviewId=${lastReviewId}&memberId=${memberId}`,
};
Expand Down

0 comments on commit 8a8ea48

Please sign in to comment.