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, 2 insertions, 0 deletions
diff --git a/invoice/router.go b/invoice/router.go
index 5536466..e231c0d 100644
--- a/invoice/router.go
+++ b/invoice/router.go
@@ -28,5 +28,7 @@ func Routes(route *gin.RouterGroup) {
g.GET("/:id", handleGetSingleInvoice)
g.POST("/", handleSaveInvoice)
g.DELETE("/:id", handleDelInvoice)
+ g.POST("/:id/item", addItem)
+ //g.DELETE("/:invoice_id/item/:item_id", handleDelInvoice)
}
}