mirror of
https://github.com/bitwarden/server
synced 2025-12-13 14:53:34 +00:00
Fix null collectionIds after live-syncing a cipher (#2057)
This commit is contained in:
@@ -70,6 +70,7 @@ namespace Bit.Core.Services
|
|||||||
UserId = cipher.UserId,
|
UserId = cipher.UserId,
|
||||||
OrganizationId = cipher.OrganizationId,
|
OrganizationId = cipher.OrganizationId,
|
||||||
RevisionDate = cipher.RevisionDate,
|
RevisionDate = cipher.RevisionDate,
|
||||||
|
CollectionIds = collectionIds,
|
||||||
};
|
};
|
||||||
|
|
||||||
await SendPayloadToUserAsync(cipher.UserId.Value, type, message, true);
|
await SendPayloadToUserAsync(cipher.UserId.Value, type, message, true);
|
||||||
|
|||||||
@@ -71,6 +71,7 @@ namespace Bit.Core.Services
|
|||||||
Id = cipher.Id,
|
Id = cipher.Id,
|
||||||
UserId = cipher.UserId,
|
UserId = cipher.UserId,
|
||||||
RevisionDate = cipher.RevisionDate,
|
RevisionDate = cipher.RevisionDate,
|
||||||
|
CollectionIds = collectionIds,
|
||||||
};
|
};
|
||||||
|
|
||||||
await SendMessageAsync(type, message, true);
|
await SendMessageAsync(type, message, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user