mirror of
https://github.com/bitwarden/server
synced 2026-01-03 00:53:37 +00:00
user edit
This commit is contained in:
@@ -55,7 +55,11 @@ namespace Bit.Core.Repositories.SqlServer
|
||||
new { Name = name, UserEmail = userEmail, Paid = paid, Skip = skip, Take = take },
|
||||
commandType: CommandType.StoredProcedure);
|
||||
|
||||
return results.ToList();
|
||||
// Select distinct results by Id
|
||||
return results
|
||||
.GroupBy(c => c.Id)
|
||||
.Select(g => g.First())
|
||||
.ToList();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user