From ea33c27b9e87be9633506d90decca4e7ee26da96 Mon Sep 17 00:00:00 2001 From: Vince Grassia <593223+vgrassia@users.noreply.github.com> Date: Thu, 27 Oct 2022 14:24:57 -0400 Subject: [PATCH] Fix spelling of EF query name (#2368) --- .../Repositories/CipherRepository.cs | 2 +- ... => CipherOrganizationDetailsReadByOrganizationIdQuery.cs} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/Infrastructure.EntityFramework/Repositories/Queries/{CipherOrganizationDetailsReadByOrgizationIdQuery.cs => CipherOrganizationDetailsReadByOrganizationIdQuery.cs} (87%) diff --git a/src/Infrastructure.EntityFramework/Repositories/CipherRepository.cs b/src/Infrastructure.EntityFramework/Repositories/CipherRepository.cs index 1cacc78761..6f81e5952f 100644 --- a/src/Infrastructure.EntityFramework/Repositories/CipherRepository.cs +++ b/src/Infrastructure.EntityFramework/Repositories/CipherRepository.cs @@ -261,7 +261,7 @@ public class CipherRepository : Repository, using (var scope = ServiceScopeFactory.CreateScope()) { var dbContext = GetDatabaseContext(scope); - var query = new CipherOrganizationDetailsReadByOrgizationIdQuery(organizationId); + var query = new CipherOrganizationDetailsReadByOrganizationIdQuery(organizationId); var data = await query.Run(dbContext).ToListAsync(); return data; } diff --git a/src/Infrastructure.EntityFramework/Repositories/Queries/CipherOrganizationDetailsReadByOrgizationIdQuery.cs b/src/Infrastructure.EntityFramework/Repositories/Queries/CipherOrganizationDetailsReadByOrganizationIdQuery.cs similarity index 87% rename from src/Infrastructure.EntityFramework/Repositories/Queries/CipherOrganizationDetailsReadByOrgizationIdQuery.cs rename to src/Infrastructure.EntityFramework/Repositories/Queries/CipherOrganizationDetailsReadByOrganizationIdQuery.cs index 578bd7701a..78ccc59b31 100644 --- a/src/Infrastructure.EntityFramework/Repositories/Queries/CipherOrganizationDetailsReadByOrgizationIdQuery.cs +++ b/src/Infrastructure.EntityFramework/Repositories/Queries/CipherOrganizationDetailsReadByOrganizationIdQuery.cs @@ -2,11 +2,11 @@ namespace Bit.Infrastructure.EntityFramework.Repositories.Queries; -public class CipherOrganizationDetailsReadByOrgizationIdQuery : IQuery +public class CipherOrganizationDetailsReadByOrganizationIdQuery : IQuery { private readonly Guid _organizationId; - public CipherOrganizationDetailsReadByOrgizationIdQuery(Guid organizationId) + public CipherOrganizationDetailsReadByOrganizationIdQuery(Guid organizationId) { _organizationId = organizationId; }