Skip to content

Commit

Permalink
feat:update status check (#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
MayueCif authored Nov 6, 2023
1 parent 91e7b65 commit ee994e9
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,11 @@ private async Task UpdateEventStatus(Guid eventId,

action?.Invoke(eventLogEntry);

if (eventLogEntry.State == status)
{
return;
}

eventLogEntry.State = status;
eventLogEntry.ModificationTime = eventLogEntry.GetCurrentTime();

Expand Down

0 comments on commit ee994e9

Please sign in to comment.