aboutsummaryrefslogtreecommitdiff
path: root/src/classes
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-27 15:07:34 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-27 15:07:34 +0530
commitcc5dd44de3d65e3c2cf189f1516d97c3641549aa (patch)
treeaa0c066f06e79dd081dcdcbee1d57ef4ed7391e7 /src/classes
parentaf0ef4c190f3967d2def0c65cc3a1fce4511044e (diff)
created very basic clients list
Diffstat (limited to 'src/classes')
-rw-r--r--src/classes/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/client.js b/src/classes/client.js
index cae528e..20e0524 100644
--- a/src/classes/client.js
+++ b/src/classes/client.js
@@ -61,6 +61,6 @@ export const deleteClient = (id, ok, fail) => {
export const getAllClients = (ok, fail) => {
axios.get("/client/all")
- .then(res => ok(res.Data))
+ .then(res => ok(res.data))
.catch(err => fail(err))
}