1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-04 01:22:50 -05:00

[PS-1806] Fix UpdateUsersAsync for EF (#2387)

* Fix UpdateUsersAsync

* Update to make single call to DB
* Loop through requested CollectionUsers
* Delete unused code

* Address PR Feedback
This commit is contained in:
Justin Baur
2022-11-08 12:06:14 -05:00
committed by GitHub
parent c222562b6f
commit 9d2938066b
3 changed files with 39 additions and 124 deletions

View File

@ -333,7 +333,7 @@ public class OrganizationUserRepository : Repository<Core.Entities.OrganizationU
HidePasswords = requestedCollection.HidePasswords,
ReadOnly = requestedCollection.ReadOnly,
});
break;
continue;
}
// It already exists, update it