1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00

Fix spelling of EF query name (#2368)

This commit is contained in:
Vince Grassia 2022-10-27 14:24:57 -04:00 committed by GitHub
parent d60a0f52fd
commit ea33c27b9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -261,7 +261,7 @@ public class CipherRepository : Repository<Core.Entities.Cipher, Cipher, Guid>,
using (var scope = ServiceScopeFactory.CreateScope()) using (var scope = ServiceScopeFactory.CreateScope())
{ {
var dbContext = GetDatabaseContext(scope); var dbContext = GetDatabaseContext(scope);
var query = new CipherOrganizationDetailsReadByOrgizationIdQuery(organizationId); var query = new CipherOrganizationDetailsReadByOrganizationIdQuery(organizationId);
var data = await query.Run(dbContext).ToListAsync(); var data = await query.Run(dbContext).ToListAsync();
return data; return data;
} }

View File

@ -2,11 +2,11 @@
namespace Bit.Infrastructure.EntityFramework.Repositories.Queries; namespace Bit.Infrastructure.EntityFramework.Repositories.Queries;
public class CipherOrganizationDetailsReadByOrgizationIdQuery : IQuery<CipherOrganizationDetails> public class CipherOrganizationDetailsReadByOrganizationIdQuery : IQuery<CipherOrganizationDetails>
{ {
private readonly Guid _organizationId; private readonly Guid _organizationId;
public CipherOrganizationDetailsReadByOrgizationIdQuery(Guid organizationId) public CipherOrganizationDetailsReadByOrganizationIdQuery(Guid organizationId)
{ {
_organizationId = organizationId; _organizationId = organizationId;
} }