aboutsummaryrefslogtreecommitdiff
path: root/src/components/BillingPage.js
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-05-05 10:20:41 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-05-05 10:20:41 +0530
commit499c54e8eb53cf49d8ddae68528eb3a8243101d2 (patch)
treeb0227990ac10376e51423a7886c69e54efa72a29 /src/components/BillingPage.js
parent4df6eaa913737427ddec2561c0ee8c9235f0c95f (diff)
fixed broken API routes and css glitch in form
Diffstat (limited to 'src/components/BillingPage.js')
-rw-r--r--src/components/BillingPage.js4
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);
})