Fix: Should remove slash before api

This commit is contained in:
winkidney
2019-12-08 20:24:47 +08:00
committed by Isaac Bythewood
parent 65be291c24
commit 0ccef0576a

View File

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