aboutsummaryrefslogtreecommitdiff
path: root/src/classes/item.js
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-27 17:34:12 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-27 17:34:12 +0530
commit072e53f0b2eb8fa14c0aa49286193784c73257cb (patch)
treeeaf151ed3c248a5af730cbf5c0b950794ccace1f /src/classes/item.js
parent24bb92944849ac2ddf2f777d52c23a150eedffe8 (diff)
added a brands management page
Diffstat (limited to 'src/classes/item.js')
-rw-r--r--src/classes/item.js2
1 files changed, 1 insertions, 1 deletions
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())
}