dynamodb pagination 추가

유저조회 우편 페이징 처리
hook 수정
This commit is contained in:
2025-04-03 15:48:55 +09:00
parent 9221a06a8e
commit f290f0dbf0
19 changed files with 266 additions and 88 deletions

View File

@@ -201,9 +201,9 @@ export const UserFriendListView = async (token, guid) => {
};
// 우편 조회
export const UserMailView = async (token, guid, option) => {
export const UserMailView = async (token, params) => {
try {
const res = await Axios.get(`/api/v1/users/mail?guid=${guid}&type=${option}`, {
const res = await Axios.post(`/api/v1/users/mail`, params, {
headers: { Authorization: `Bearer ${token}` },
});