diff --git a/Nano.App/Api/BaseApi.cs b/Nano.App/Api/BaseApi.cs index 65ade4b..2f14775 100644 --- a/Nano.App/Api/BaseApi.cs +++ b/Nano.App/Api/BaseApi.cs @@ -288,9 +288,7 @@ private async Task AuthenticateAsync(TRequest request, Cancell return this.accessToken?.Token; } - var httpContextAccessor = HttpContextAccessor.Current; - - var jwtToken = httpContextAccessor? + var jwtToken = HttpContextAccessor.Current? .GetJwtToken(); if (jwtToken != null)