Skip to content

Commit 1273e13

Browse files
committed
fix: mailbox에서 isClosed 옵션 반대로 보여주는 문제 해결
- isClosed 상태를 반대로 받아와서 상태를 잘못 보여주는 문제 해결
1 parent 340f350 commit 1273e13

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}/detail?page=${pageParam}&size=20`);
15+
const response = await client.get(`/api/mailbox/${id}?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)