Фикс обновления сообщения

This commit is contained in:
parent 1b560dd0a2
commit 8a0b588450

View File

@ -92,7 +92,7 @@ public class NotificationService
if (notification.SentDate == null) if (notification.SentDate == null)
throw new ArgumentInvalidException("Уведомление не может быть прочитано", nameof(isRead)); throw new ArgumentInvalidException("Уведомление не может быть прочитано", nameof(isRead));
notification.SentDate = DateTime.UtcNow; notification.ReadDate = DateTime.UtcNow;
} }
await notificationRepository.UpdateAsync(notification, await notificationRepository.UpdateAsync(notification,