diff options
Diffstat (limited to 'invoice/router.go')
-rw-r--r-- | invoice/router.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/invoice/router.go b/invoice/router.go index 7631cb9..290eacb 100644 --- a/invoice/router.go +++ b/invoice/router.go @@ -29,6 +29,7 @@ func Routes(route *gin.RouterGroup) { g.GET("/:id", handleGetSingleInvoice) g.POST("/", handleSaveInvoice) g.DELETE("/:id", handleDelInvoice) + g.GET("/:id/item", handleGetInvoiceItems) g.POST("/:id/item", addItem) g.DELETE("/item/:id", removeItem) } |