1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-11-24 15:14:30 +02:00

normalized internal errors formatting

This commit is contained in:
Gani Georgiev
2024-07-09 22:18:04 +03:00
parent 1f08b70283
commit 01450cde44
9 changed files with 12 additions and 12 deletions

View File

@@ -39,7 +39,7 @@ func ParseJWT(token string, verificationKey string) (jwt.MapClaims, error) {
return claims, nil
}
return nil, errors.New("Unable to parse token.")
return nil, errors.New("unable to parse token")
}
// NewJWT generates and returns new HS256 signed JWT.