Browse Source

Fix: Fix error caused by user-api path change

pull/169/head
winkidney 5 years ago
committed by Isaac Bythewood
parent
commit
9a010b5cb2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pinry-spa/src/components/api.js

+ 1
- 1
pinry-spa/src/components/api.js 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(


Loading…
Cancel
Save