diff --git a/AsbCloudApp/Services/Notifications/NotificationService.cs b/AsbCloudApp/Services/Notifications/NotificationService.cs index 07f9931e..5be9ab33 100644 --- a/AsbCloudApp/Services/Notifications/NotificationService.cs +++ b/AsbCloudApp/Services/Notifications/NotificationService.cs @@ -92,7 +92,7 @@ public class NotificationService if (notification.SentDate == null) throw new ArgumentInvalidException("Уведомление не может быть прочитано", nameof(isRead)); - notification.SentDate = DateTime.UtcNow; + notification.ReadDate = DateTime.UtcNow; } await notificationRepository.UpdateAsync(notification,