diff --git a/api/auth/handle.go b/api/auth/handle.go index 54de7ce..5f94c9c 100644 --- a/api/auth/handle.go +++ b/api/auth/handle.go @@ -3,8 +3,8 @@ package api_auth import ( - "fmt" "encoding/json" + "fmt" "net/http" "time" @@ -48,7 +48,7 @@ func MustRoute(config *config.Config, authService *auth.Service) func(chi.Router r.Post("/register", h.handleRegister) r.Post("/login", h.handleLogin) - r.Post("/logout", h.handleLogout) // !requires authentication + r.Post("/logout", h.handleLogout) // !requires authentication r.Post("/refresh", h.handleRefresh) // !requires authentication r.Get("/me", h.handleMe) // !requires authentication