toast 메시지 추가
alert 글로벌화 loading 글로벌화
This commit is contained in:
@@ -67,7 +67,7 @@ export const BlackListRegist = async (token, params) => {
|
||||
headers: { Authorization: `Bearer ${token}` },
|
||||
});
|
||||
|
||||
return res;
|
||||
return res.data;
|
||||
} catch (e) {
|
||||
if (e instanceof Error) {
|
||||
throw new Error('BlacklistRegist', e);
|
||||
|
||||
Reference in New Issue
Block a user