mirror of
https://github.com/bitwarden/server.git
synced 2025-07-16 15:17:33 -05:00
use withOrganizations sproc
This commit is contained in:
@ -65,9 +65,7 @@ namespace Bit.Core.Repositories.SqlServer
|
||||
public async Task<ICollection<CipherDetails>> GetManyByUserIdAsync(Guid userId, bool withOrganizations = true)
|
||||
{
|
||||
string sprocName = null;
|
||||
// Always "with organizations" for now. Future TODO is to possibly move to another, simpler sproc when no
|
||||
// orgs are expected.
|
||||
if(true || withOrganizations)
|
||||
if(withOrganizations)
|
||||
{
|
||||
sprocName = $"[{Schema}].[CipherDetails_ReadByUserId]";
|
||||
}
|
||||
|
Reference in New Issue
Block a user