mirror of
https://github.com/bitwarden/server.git
synced 2025-06-07 11:40:31 -05:00
Fix wrong filename
This commit is contained in:
parent
e0a45520ad
commit
a9650a878a
@ -10,12 +10,8 @@ using Microsoft.Extensions.DependencyInjection;
|
|||||||
|
|
||||||
namespace Bit.Infrastructure.EntityFramework.KeyManagement.Repositories;
|
namespace Bit.Infrastructure.EntityFramework.KeyManagement.Repositories;
|
||||||
|
|
||||||
public class UserSignatureKeyPairRepository : Repository<Core.KeyManagement.Entities.UserSignatureKeyPair, Models.UserSignatureKeyPair, Guid>, IUserSignatureKeyPairRepository
|
public class UserSignatureKeyPairRepository(IServiceScopeFactory serviceScopeFactory, IMapper mapper) : Repository<Core.KeyManagement.Entities.UserSignatureKeyPair, Models.UserSignatureKeyPair, Guid>(serviceScopeFactory, mapper, context => context.UserSignatureKeyPair), IUserSignatureKeyPairRepository
|
||||||
{
|
{
|
||||||
public UserSignatureKeyPairRepository(IServiceScopeFactory serviceScopeFactory, IMapper mapper) : base(serviceScopeFactory, mapper, context => context.UserSignatureKeyPair)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public async Task<SignatureKeyPairData?> GetByUserIdAsync(Guid userId)
|
public async Task<SignatureKeyPairData?> GetByUserIdAsync(Guid userId)
|
||||||
{
|
{
|
||||||
await using var scope = ServiceScopeFactory.CreateAsyncScope();
|
await using var scope = ServiceScopeFactory.CreateAsyncScope();
|
Loading…
x
Reference in New Issue
Block a user