File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ class JwtAuthTokenService implements AuthTokenService {
101
101
if (subClaim is String ) {
102
102
userId = subClaim;
103
103
print (
104
- '[validateToken] "sub" claim successfully cast to String: $userId ' );
104
+ '[validateToken] "sub" claim successfully cast to String: $userId ' , );
105
105
} else if (subClaim != null ) {
106
106
print (
107
107
'[validateToken] WARNING: "sub" claim is not a String. '
@@ -117,7 +117,7 @@ class JwtAuthTokenService implements AuthTokenService {
117
117
118
118
if (userId == null || userId.isEmpty) {
119
119
print (
120
- '[validateToken] Token validation failed: Missing or empty "sub" claim.' );
120
+ '[validateToken] Token validation failed: Missing or empty "sub" claim.' , );
121
121
// Throw specific exception for malformed token
122
122
throw const BadRequestException (
123
123
'Malformed token: Missing or empty subject claim.' ,
You can’t perform that action at this time.
0 commit comments