summaryrefslogtreecommitdiff
path: root/invoice
diff options
context:
space:
mode:
Diffstat (limited to 'invoice')
-rw-r--r--invoice/router.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/invoice/router.go b/invoice/router.go
index ffa8ed3..c89d667 100644
--- a/invoice/router.go
+++ b/invoice/router.go
@@ -18,7 +18,7 @@
package invoice
import (
- "github.com/MikunoNaka/OpenBills-server/auth"
+ "github.com/MikunoNaka/OpenBills-server/util"
"github.com/gin-gonic/gin"
"log"
"errors"
@@ -29,7 +29,7 @@ import (
func Routes(route *gin.Engine) {
i := route.Group("/invoice")
- i.Use(auth.Authorize())
+ i.Use(util.Authorize())
{
i.GET("/all", func(ctx *gin.Context) {
// TODO: add functionality to filter results