diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-10-09 22:11:16 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-10-09 22:11:16 +0530 |
commit | 48845b9e703756471a98f8b1f1edaa2313763df4 (patch) | |
tree | 1883095a68148bad0d0e5daff818616e5137a3c3 /invoice/router.go | |
parent | 1924bfca2439829253df3598481034e5c586e3e2 (diff) |
checking user while adding and removing invoice itemsv0.0.13
Diffstat (limited to 'invoice/router.go')
-rw-r--r-- | invoice/router.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/invoice/router.go b/invoice/router.go index e231c0d..8e0a0ca 100644 --- a/invoice/router.go +++ b/invoice/router.go @@ -29,6 +29,6 @@ func Routes(route *gin.RouterGroup) { g.POST("/", handleSaveInvoice) g.DELETE("/:id", handleDelInvoice) g.POST("/:id/item", addItem) - //g.DELETE("/:invoice_id/item/:item_id", handleDelInvoice) + g.DELETE("/item/:id", removeItem) } } |