Fix JWT validation method name

This commit is contained in:
Leon Bösche
2026-01-29 21:20:01 +01:00
parent cabb330966
commit b30b8eb934

View File

@@ -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