fmt
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user