aboutsummaryrefslogtreecommitdiff
path: root/invoice/router.go
diff options
context:
space:
mode:
Diffstat (limited to 'invoice/router.go')
-rw-r--r--invoice/router.go2
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)
}
}