mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
Missed one other PR comment fix
This commit is contained in:
@ -206,13 +206,9 @@ namespace Bit.Api.Controllers
|
||||
}
|
||||
|
||||
var ciphers = await _cipherRepository.GetManyByOrganizationIdAsync(orgIdGuid);
|
||||
var cipherMatchKeys = ciphers.Select(c => c.Id);
|
||||
|
||||
var collectionCiphers = await _collectionCipherRepository.GetManyByOrganizationIdAsync(orgIdGuid);
|
||||
var collectionCiphersGroupDict = collectionCiphers
|
||||
.Where(c => cipherMatchKeys.Contains(c.CipherId))
|
||||
.GroupBy(c => c.CipherId)
|
||||
.ToDictionary(s => s.Key);
|
||||
var collectionCiphersGroupDict = collectionCiphers.GroupBy(c => c.CipherId).ToDictionary(s => s.Key);
|
||||
|
||||
var responses = ciphers.Select(c => new CipherMiniDetailsResponseModel(c, _globalSettings,
|
||||
collectionCiphersGroupDict));
|
||||
|
Reference in New Issue
Block a user