aboutsummaryrefslogtreecommitdiff
path: root/invoice/router.go
diff options
context:
space:
mode:
Diffstat (limited to 'invoice/router.go')
-rw-r--r--invoice/router.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/invoice/router.go b/invoice/router.go
index 8e0a0ca..7631cb9 100644
--- a/invoice/router.go
+++ b/invoice/router.go
@@ -25,6 +25,7 @@ func Routes(route *gin.RouterGroup) {
g := route.Group("/invoice")
{
g.GET("/", handleGetInvoices)
+ g.GET("/draft", handleGetDrafts)
g.GET("/:id", handleGetSingleInvoice)
g.POST("/", handleSaveInvoice)
g.DELETE("/:id", handleDelInvoice)