유저 조회 접속 상태 표시
유저 조회 kick 처리
This commit is contained in:
@@ -65,6 +65,20 @@ export const UserChangeAdminLevel = async (token, params) => {
|
||||
}
|
||||
};
|
||||
|
||||
export const UserKick = async (token, params) => {
|
||||
try {
|
||||
const res = await Axios.put('/api/v1/users/user-kick', params, {
|
||||
headers: { Authorization: `Bearer ${token}` },
|
||||
});
|
||||
|
||||
return res.data;
|
||||
} catch (e) {
|
||||
if (e instanceof Error) {
|
||||
throw new Error('UserKick Error', e);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
// 아바타 조회
|
||||
export const UserAvatarView = async (token, guid) => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user