From d626174f7e46cae65cf9721afa44b02d49d9afbd Mon Sep 17 00:00:00 2001 From: Robyn MacCallum Date: Mon, 13 Jun 2022 13:50:44 -0400 Subject: [PATCH] Fix null collectionIds after live-syncing a cipher (#2057) --- .../Implementations/NotificationHubPushNotificationService.cs | 1 + .../Implementations/NotificationsApiPushNotificationService.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Core/Services/Implementations/NotificationHubPushNotificationService.cs b/src/Core/Services/Implementations/NotificationHubPushNotificationService.cs index dbe3d3f186..9099415152 100644 --- a/src/Core/Services/Implementations/NotificationHubPushNotificationService.cs +++ b/src/Core/Services/Implementations/NotificationHubPushNotificationService.cs @@ -70,6 +70,7 @@ namespace Bit.Core.Services UserId = cipher.UserId, OrganizationId = cipher.OrganizationId, RevisionDate = cipher.RevisionDate, + CollectionIds = collectionIds, }; await SendPayloadToUserAsync(cipher.UserId.Value, type, message, true); diff --git a/src/Core/Services/Implementations/NotificationsApiPushNotificationService.cs b/src/Core/Services/Implementations/NotificationsApiPushNotificationService.cs index c88f3da970..0e2a071660 100644 --- a/src/Core/Services/Implementations/NotificationsApiPushNotificationService.cs +++ b/src/Core/Services/Implementations/NotificationsApiPushNotificationService.cs @@ -71,6 +71,7 @@ namespace Bit.Core.Services Id = cipher.Id, UserId = cipher.UserId, RevisionDate = cipher.RevisionDate, + CollectionIds = collectionIds, }; await SendMessageAsync(type, message, true);