From cafefc60907837e9e326568dc85d7002b3bb9beb Mon Sep 17 00:00:00 2001 From: Sumit Ghosh Date: Wed, 13 Oct 2021 18:47:59 +0530 Subject: [PATCH] Fixed bug Identity.API --- .../Identity/Identity.API/Data/ApplicationDbContextSeed.cs | 7 +++---- .../Devspaces/DevspacesRedirectUriValidator.cs | 4 +++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/Services/Identity/Identity.API/Data/ApplicationDbContextSeed.cs b/src/Services/Identity/Identity.API/Data/ApplicationDbContextSeed.cs index 1ce33daa3..74feaa4ce 100644 --- a/src/Services/Identity/Identity.API/Data/ApplicationDbContextSeed.cs +++ b/src/Services/Identity/Identity.API/Data/ApplicationDbContextSeed.cs @@ -1,7 +1,6 @@ namespace Microsoft.eShopOnContainers.Services.Identity.API.Data { - - + using Microsoft.Extensions.Logging; public class ApplicationDbContextSeed { private readonly IPasswordHasher _passwordHasher = new PasswordHasher(); @@ -44,7 +43,7 @@ } } - private IEnumerable GetUsersFromFile(string contentRootPath, Microsoft.Extensions.Logging.ILogger logger) + private IEnumerable GetUsersFromFile(string contentRootPath, ILogger logger) { string csvFileUsers = Path.Combine(contentRootPath, "Setup", "Users.csv"); @@ -178,7 +177,7 @@ return csvheaders; } - static void GetPreconfiguredImages(string contentRootPath, string webroot, Microsoft.Extensions.Logging.ILogger logger) + static void GetPreconfiguredImages(string contentRootPath, string webroot, ILogger logger) { try { diff --git a/src/Services/Identity/Identity.API/Devspaces/DevspacesRedirectUriValidator.cs b/src/Services/Identity/Identity.API/Devspaces/DevspacesRedirectUriValidator.cs index aed143f22..8912882f4 100644 --- a/src/Services/Identity/Identity.API/Devspaces/DevspacesRedirectUriValidator.cs +++ b/src/Services/Identity/Identity.API/Devspaces/DevspacesRedirectUriValidator.cs @@ -1,8 +1,10 @@ namespace Microsoft.eShopOnContainers.Services.Identity.API.Devspaces { + using Microsoft.Extensions.Logging; + public class DevspacesRedirectUriValidator : IRedirectUriValidator { - private readonly Microsoft.Extensions.Logging.ILogger _logger; + private readonly ILogger _logger; public DevspacesRedirectUriValidator(ILogger logger) { _logger = logger;