Skip to content

Commit

Permalink
PM-10563: Mark notification read, deleted commands date typos fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mzieniukbw committed Oct 17, 2024
1 parent a07e51f commit 4775247
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ await _authorizationService.AuthorizeOrThrowAsync(_currentContext.HttpContext.Us

if (notificationStatus == null)
{
notificationStatus = new NotificationStatus()
notificationStatus = new NotificationStatus
{
NotificationId = notificationId,
UserId = _currentContext.UserId.Value,
DeletedDate = DateTime.Now
DeletedDate = DateTime.UtcNow
};

await _authorizationService.AuthorizeOrThrowAsync(_currentContext.HttpContext.User, notificationStatus,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ await _authorizationService.AuthorizeOrThrowAsync(_currentContext.HttpContext.Us

if (notificationStatus == null)
{
notificationStatus = new NotificationStatus()
notificationStatus = new NotificationStatus
{
NotificationId = notificationId,
UserId = _currentContext.UserId.Value,
ReadDate = DateTime.Now
ReadDate = DateTime.UtcNow
};

await _authorizationService.AuthorizeOrThrowAsync(_currentContext.HttpContext.User, notificationStatus,
Expand Down

0 comments on commit 4775247

Please sign in to comment.