From 9f4c945b02d1933324b4df20eb24322ad37a2c40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=20Jurmanovi=C4=87?= Date: Tue, 25 May 2021 21:53:02 +0200 Subject: [PATCH] removed Auth middleware from Api controller --- pkg/api/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/routes.go b/pkg/api/routes.go index 2871fae..5327a9c 100644 --- a/pkg/api/routes.go +++ b/pkg/api/routes.go @@ -13,7 +13,7 @@ import ( func Routes(s *gin.Engine, db *pg.DB) { ver := s.Group(configs.Prefix) - api := ver.Group("api", middleware.Auth) + api := ver.Group("api") auth := ver.Group("auth") wallet := ver.Group("wallet", middleware.Auth) transaction := ver.Group("transaction", middleware.Auth)