Fix: Fix error caused by user-api path change

This commit is contained in:
winkidney
2019-12-03 13:29:01 +08:00
committed by Isaac Bythewood
parent e634c2d4d8
commit 9a010b5cb2

View File

@@ -110,7 +110,7 @@ const User = {
resolve => resolve(userInfo),
);
}
const url = `${API_PREFIX}users/`;
const url = `${API_PREFIX}/profile/users/`;
return new Promise(
(resolve) => {
axios.get(url).then(