mirror of
https://github.com/bitwarden/server.git
synced 2025-07-04 01:22:50 -05:00
PM-10600: Push notification with full notification center content.
Notification Center push notification now includes all the fields.
This commit is contained in:
@ -37,7 +37,7 @@ public class CreateNotificationCommand : ICreateNotificationCommand
|
||||
|
||||
var newNotification = await _notificationRepository.CreateAsync(notification);
|
||||
|
||||
await _pushNotificationService.PushSyncNotificationAsync(newNotification);
|
||||
await _pushNotificationService.PushNotificationAsync(newNotification);
|
||||
|
||||
return newNotification;
|
||||
}
|
||||
|
@ -15,9 +15,8 @@ public class Notification : ITableObject<Guid>
|
||||
public ClientType ClientType { get; set; }
|
||||
public Guid? UserId { get; set; }
|
||||
public Guid? OrganizationId { get; set; }
|
||||
[MaxLength(256)]
|
||||
public string? Title { get; set; }
|
||||
public string? Body { get; set; }
|
||||
[MaxLength(256)] public string? Title { get; set; }
|
||||
[MaxLength(3000)] public string? Body { get; set; }
|
||||
public DateTime CreationDate { get; set; }
|
||||
public DateTime RevisionDate { get; set; }
|
||||
|
||||
|
Reference in New Issue
Block a user