1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

Enable Nullable In Auth Repositories (#4600)

This commit is contained in:
Justin Baur
2024-08-09 09:31:06 -04:00
committed by GitHub
parent 374ef95656
commit 56d6c91b25
25 changed files with 76 additions and 30 deletions

View File

@ -32,6 +32,6 @@ public class LoginHelper
var organizationApiKeyRepository = factory.GetService<IOrganizationApiKeyRepository>();
var apiKeys = await organizationApiKeyRepository.GetManyByOrganizationIdTypeAsync(organizationId);
var clientId = $"organization.{organizationId}";
return (clientId, apiKeys.SingleOrDefault().ApiKey);
return (clientId, apiKeys.Single().ApiKey);
}
}