Skip to content

Commit

Permalink
removed extra space
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLozensky committed Jun 4, 2024
1 parent 8f5c6d4 commit 247fe65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/System.IdentityModel.Tokens.Jwt/JwtPayload.cs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ internal void AddFirstPriorityClaims(string issuer, string audience, IList<strin
if (!string.IsNullOrEmpty(audience))
AddClaim(new Claim(JwtRegisteredClaimNames.Aud, audience, ClaimValueTypes.String));

AddClaims( audiences
AddClaims(audiences
.Where(aud => !aud.IsNullOrEmpty())
.Select(aud => new Claim(JwtRegisteredClaimNames.Aud, aud, ClaimValueTypes.String))
);
Expand Down

0 comments on commit 247fe65

Please sign in to comment.