From a9650a878a62e5931c4dfda06fc30f940cd2ab2c Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Fri, 6 Jun 2025 17:28:51 +0200 Subject: [PATCH] Fix wrong filename --- ...gKeysRepository.cs => UserSignatureKeyPairRepository.cs} | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) rename src/Infrastructure.EntityFramework/KeyManagement/Repositories/{UserSigningKeysRepository.cs => UserSignatureKeyPairRepository.cs} (87%) diff --git a/src/Infrastructure.EntityFramework/KeyManagement/Repositories/UserSigningKeysRepository.cs b/src/Infrastructure.EntityFramework/KeyManagement/Repositories/UserSignatureKeyPairRepository.cs similarity index 87% rename from src/Infrastructure.EntityFramework/KeyManagement/Repositories/UserSigningKeysRepository.cs rename to src/Infrastructure.EntityFramework/KeyManagement/Repositories/UserSignatureKeyPairRepository.cs index 25634aa41a..645f8cc6b3 100644 --- a/src/Infrastructure.EntityFramework/KeyManagement/Repositories/UserSigningKeysRepository.cs +++ b/src/Infrastructure.EntityFramework/KeyManagement/Repositories/UserSignatureKeyPairRepository.cs @@ -10,12 +10,8 @@ using Microsoft.Extensions.DependencyInjection; namespace Bit.Infrastructure.EntityFramework.KeyManagement.Repositories; -public class UserSignatureKeyPairRepository : Repository, IUserSignatureKeyPairRepository +public class UserSignatureKeyPairRepository(IServiceScopeFactory serviceScopeFactory, IMapper mapper) : Repository(serviceScopeFactory, mapper, context => context.UserSignatureKeyPair), IUserSignatureKeyPairRepository { - public UserSignatureKeyPairRepository(IServiceScopeFactory serviceScopeFactory, IMapper mapper) : base(serviceScopeFactory, mapper, context => context.UserSignatureKeyPair) - { - } - public async Task GetByUserIdAsync(Guid userId) { await using var scope = ServiceScopeFactory.CreateAsyncScope();