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:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user