We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1273e13 commit 0dc5aa8Copy full SHA for 0dc5aa8
src/apis/mailBox.ts
@@ -12,7 +12,7 @@ export const getMailbox = async () => {
12
13
export const getMailboxDetail = async (id: number, pageParam: number) => {
14
try {
15
- const response = await client.get(`/api/mailbox/${id}?page=${pageParam}&size=20`);
+ const response = await client.get(`/api/mailbox/${id}/detail?page=${pageParam}&size=20`);
16
17
if (!response) throw new Error('error while fetching mailbox detail data');
18
return response.data;
0 commit comments