From bc154857fb5569d7c1fa9785cc891cb927a6a156 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 11 Oct 2025 20:55:48 +0530 Subject: removed per-user items --- invoice/router.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'invoice/router.go') diff --git a/invoice/router.go b/invoice/router.go index febd8fd..f406786 100644 --- a/invoice/router.go +++ b/invoice/router.go @@ -24,8 +24,8 @@ import ( func Routes(route *gin.RouterGroup) { g := route.Group("/invoice") { - g.GET("/", handleGetInvoices) - g.GET("/draft", handleGetDrafts) + g.GET("/", handleGetInvoices(false)) + g.GET("/draft", handleGetInvoices(true)) g.GET("/:id", handleGetSingleInvoice) g.POST("/", handleSaveInvoice) g.DELETE("/:id", handleDelInvoice) -- cgit v1.2.3