diff options
Diffstat (limited to 'src/components/BillingPage.js')
-rw-r--r-- | src/components/BillingPage.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/BillingPage.js b/src/components/BillingPage.js index 73778a1..71d7c81 100644 --- a/src/components/BillingPage.js +++ b/src/components/BillingPage.js @@ -27,7 +27,7 @@ const BillingPage = () => { const [registerPersonFormVisibility, setRegisterPersonFormVisibility] = useState(false); const getRegisteredItems = () => { - axios.get(`/api/items`) + axios.get(`/api/items/get-all`) .then((res) => { getSavedItems(res.data); }) @@ -38,7 +38,7 @@ const BillingPage = () => { } const getRegisteredPeople = () => { - axios.get(`/api/people`) + axios.get(`/api/people/get-all`) .then((res) => { getSavedPeople(res.data); }) |