From cc5dd44de3d65e3c2cf189f1516d97c3641549aa Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 27 Sep 2022 15:07:34 +0530 Subject: created very basic clients list --- src/classes/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/classes') 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)) } -- cgit v1.2.3