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 {
101101 if (subClaim is String ) {
102102 userId = subClaim;
103103 print (
104- '[validateToken] "sub" claim successfully cast to String: $userId ' );
104+ '[validateToken] "sub" claim successfully cast to String: $userId ' , );
105105 } else if (subClaim != null ) {
106106 print (
107107 '[validateToken] WARNING: "sub" claim is not a String. '
@@ -117,7 +117,7 @@ class JwtAuthTokenService implements AuthTokenService {
117117
118118 if (userId == null || userId.isEmpty) {
119119 print (
120- '[validateToken] Token validation failed: Missing or empty "sub" claim.' );
120+ '[validateToken] Token validation failed: Missing or empty "sub" claim.' , );
121121 // Throw specific exception for malformed token
122122 throw const BadRequestException (
123123 'Malformed token: Missing or empty subject claim.' ,
You can’t perform that action at this time.
0 commit comments