From 072e53f0b2eb8fa14c0aa49286193784c73257cb Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 27 Sep 2022 17:34:12 +0530 Subject: added a brands management page --- src/classes/item.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/classes/item.js') diff --git a/src/classes/item.js b/src/classes/item.js index 3985e9d..1c59992 100644 --- a/src/classes/item.js +++ b/src/classes/item.js @@ -50,7 +50,7 @@ export class InvoiceItem extends Item { export const saveItem = (item, ok, fail) => { axios.post("/item/new", item) - .then(res => { console.log(res);ok()}) + .then(res => ok()) .catch((err) => fail()) } -- cgit v1.2.3