dynamodb pagination 추가
유저조회 우편 페이징 처리 hook 수정
This commit is contained in:
@@ -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}` },
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user