diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-09-27 15:07:34 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-09-27 15:07:34 +0530 |
commit | cc5dd44de3d65e3c2cf189f1516d97c3641549aa (patch) | |
tree | aa0c066f06e79dd081dcdcbee1d57ef4ed7391e7 /src/classes | |
parent | af0ef4c190f3967d2def0c65cc3a1fce4511044e (diff) |
created very basic clients list
Diffstat (limited to 'src/classes')
-rw-r--r-- | src/classes/client.js | 2 |
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)) } |