mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 16:42:50 -05: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