mirror of
https://github.com/bitwarden/server.git
synced 2026-02-04 16:13:12 +08:00
Rename DefaultCollectionOwner -> DefaultCollectionOwnerId
This commit is contained in:
@@ -115,7 +115,7 @@ public class OrganizationUserRepository : Repository<Core.Entities.OrganizationU
|
||||
.SetProperty(c => c.RevisionDate, utcNow)
|
||||
.SetProperty(c => c.DefaultUserCollectionEmail,
|
||||
c => c.DefaultUserCollectionEmail == null ? email : c.DefaultUserCollectionEmail)
|
||||
.SetProperty(c => c.DefaultCollectionOwner, (Guid?)null));
|
||||
.SetProperty(c => c.DefaultCollectionOwnerId, (Guid?)null));
|
||||
|
||||
await dbContext.CollectionUsers
|
||||
.Where(cu => cu.OrganizationUserId == organizationUser.Id)
|
||||
|
||||
Reference in New Issue
Block a user