Skip to content

Commit

Permalink
Cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
vivet committed Nov 4, 2024
1 parent 2a82587 commit f10710c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Nano.App/Api/BaseApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,7 @@ private async Task<string> AuthenticateAsync<TRequest>(TRequest request, Cancell
return this.accessToken?.Token;
}

var httpContextAccessor = HttpContextAccessor.Current;

var jwtToken = httpContextAccessor?
var jwtToken = HttpContextAccessor.Current?
.GetJwtToken();

if (jwtToken != null)
Expand Down

0 comments on commit f10710c

Please sign in to comment.