Skip to content

Commit

Permalink
게시물 좋아요 여부API의 잘못된 uri 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ojj1123 committed Aug 11, 2024
1 parent 67a708f commit 2eb0da7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hooks/secretSquare/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ export const useLikeStatus = (
return useQuery(
["secretSquare", "isLike", { squareId }],
async () => {
const res = await axios.get<SecretSquareIsLikeResponse>(`${SERVER_URI}/${squareId}/like`);
const res = await axios.get<SecretSquareIsLikeResponse>(
`${SERVER_URI}/square/${squareId}/like`,
);
return res.data;
},
options,
Expand Down

0 comments on commit 2eb0da7

Please sign in to comment.