From 743531e6d4fe218acd0178d53f932599dc3b7623 Mon Sep 17 00:00:00 2001 From: prtsie Date: Fri, 30 Aug 2024 19:12:38 +0300 Subject: [PATCH] fixed warnings --- SchengenVisaApi/BlazorWebAssemblyVisaApiClient/Pages/Auth.razor | 2 +- .../Infrastructure/Auth/ServiceCollectionExtensions.cs | 1 - SchengenVisaApi/Infrastructure/Auth/TokenGenerator.cs | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/SchengenVisaApi/BlazorWebAssemblyVisaApiClient/Pages/Auth.razor b/SchengenVisaApi/BlazorWebAssemblyVisaApiClient/Pages/Auth.razor index a32049c..67f7bfc 100644 --- a/SchengenVisaApi/BlazorWebAssemblyVisaApiClient/Pages/Auth.razor +++ b/SchengenVisaApi/BlazorWebAssemblyVisaApiClient/Pages/Auth.razor @@ -14,7 +14,7 @@ @code { private AuthData loginData = new(); - private string loginResult = String.Empty; + private string loginResult = string.Empty; [Inject] private Client Client { get; set; } = null!; diff --git a/SchengenVisaApi/Infrastructure/Auth/ServiceCollectionExtensions.cs b/SchengenVisaApi/Infrastructure/Auth/ServiceCollectionExtensions.cs index f6402b0..d9d1391 100644 --- a/SchengenVisaApi/Infrastructure/Auth/ServiceCollectionExtensions.cs +++ b/SchengenVisaApi/Infrastructure/Auth/ServiceCollectionExtensions.cs @@ -1,6 +1,5 @@ using System.IdentityModel.Tokens.Jwt; using ApplicationLayer.InfrastructureServicesInterfaces; -using ApplicationLayer.Services.AuthServices.NeededServices; using Microsoft.Extensions.DependencyInjection; namespace Infrastructure.Auth; diff --git a/SchengenVisaApi/Infrastructure/Auth/TokenGenerator.cs b/SchengenVisaApi/Infrastructure/Auth/TokenGenerator.cs index eeb7c0f..dd012f6 100644 --- a/SchengenVisaApi/Infrastructure/Auth/TokenGenerator.cs +++ b/SchengenVisaApi/Infrastructure/Auth/TokenGenerator.cs @@ -2,7 +2,6 @@ using System.Security.Claims; using ApplicationLayer.InfrastructureServicesInterfaces; using ApplicationLayer.Services.AuthServices.Common; -using ApplicationLayer.Services.AuthServices.NeededServices; using Domains.Users; namespace Infrastructure.Auth;