Skip to content

Commit

Permalink
rename var
Browse files Browse the repository at this point in the history
  • Loading branch information
Keegan Caruso committed Jun 22, 2023
1 parent 527fd12 commit 6dc0356
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ public static JwtSecurityToken Convert(JsonWebToken token)

if (token.InnerToken != null)
{
var outerToken = new JwtSecurityToken(token.EncodedToken);
outerToken.InnerToken = new JwtSecurityToken(token.InnerToken.EncodedToken);
return outerToken;
var jwtSecurityToken = new JwtSecurityToken(token.EncodedToken);
jwtSecurityToken.InnerToken = new JwtSecurityToken(token.InnerToken.EncodedToken);
return jwtSecurityToken;
}
else if (!string.IsNullOrEmpty(token.EncodedToken))
{
Expand Down

0 comments on commit 6dc0356

Please sign in to comment.