Skip to content

Commit

Permalink
chore: rollback auth middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Jun 5, 2024
1 parent 2f92537 commit 96b0f0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middlewares/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

func AuthorizationMiddleware() gin.HandlerFunc {
userSvc, _ := user.GetUserServiceV2()
userSvc, _ := user.GetUserService()
return func(c *gin.Context) {
// disable auth for test
if viper.GetBool("auth.disabled") {
Expand Down

0 comments on commit 96b0f0a

Please sign in to comment.