Skip to content

Commit 0dc5aa8

Browse files
committed
fix: mailBox 배포 api에 따른 수정 작업
- sharePost 요청 요청자 id 삭제 - 상세 페이지 api 경로 수정 - 우편함 상세체이지 날짜 잘못표기하는 에러 수정
1 parent 1273e13 commit 0dc5aa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apis/mailBox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const getMailbox = async () => {
1212

1313
export const getMailboxDetail = async (id: number, pageParam: number) => {
1414
try {
15-
const response = await client.get(`/api/mailbox/${id}?page=${pageParam}&size=20`);
15+
const response = await client.get(`/api/mailbox/${id}/detail?page=${pageParam}&size=20`);
1616

1717
if (!response) throw new Error('error while fetching mailbox detail data');
1818
return response.data;

0 commit comments

Comments
 (0)