diff --git a/go_cloud/internal/http/routes.go b/go_cloud/internal/http/routes.go index afd69d4..2a46047 100644 --- a/go_cloud/internal/http/routes.go +++ b/go_cloud/internal/http/routes.go @@ -4087,7 +4087,7 @@ func getUserAvatarHandler(w http.ResponseWriter, r *http.Request, db *database.D return } - claims, err := jwtManager.ValidateToken(tokenString) + claims, err := jwtManager.Validate(tokenString) if err != nil { errors.WriteError(w, errors.CodeUnauthenticated, "Unauthorized", http.StatusUnauthorized) return