mirror of
https://github.com/pinry/pinry.git
synced 2025-11-17 02:10:39 +01:00
Fix: Fix error caused by user-api path change
This commit is contained in:
committed by
Isaac Bythewood
parent
e634c2d4d8
commit
9a010b5cb2
@@ -110,7 +110,7 @@ const User = {
|
|||||||
resolve => resolve(userInfo),
|
resolve => resolve(userInfo),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
const url = `${API_PREFIX}users/`;
|
const url = `${API_PREFIX}/profile/users/`;
|
||||||
return new Promise(
|
return new Promise(
|
||||||
(resolve) => {
|
(resolve) => {
|
||||||
axios.get(url).then(
|
axios.get(url).then(
|
||||||
|
|||||||
Reference in New Issue
Block a user