chore: POSTS -> POSTS_USER 엔드포인트 수정

This commit is contained in:
2025-05-07 14:50:42 +09:00
parent f5e7601d54
commit 8233f91532
6 changed files with 24 additions and 20 deletions
@@ -17,7 +17,7 @@ function Post({ bbsId, pstNo }: { bbsId: string; pstNo: string }) {
useState<AxiosResponse | null>(null);
const { data: postData } = useQuery({
queryKey: [ENDPOINT.BOARD_SERVICE.POSTS],
queryKey: [ENDPOINT.BOARD_SERVICE.POSTS_USER, bbsId, pstNo],
queryFn: () => PostApi.getPostInfo(bbsId, pstNo),
});