Skip to content

Commit

Permalink
feat: fix startartevent command handler
Browse files Browse the repository at this point in the history
  • Loading branch information
FranchescoSoto committed Nov 13, 2023
1 parent 561d2d9 commit db56815
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public async Task<string> Handle(StartArtEventCommand request, CancellationToken
{
artEvent.CurrentStatus = ArtEventStatus.STARTED;
_artEventRepository.Update(artEvent);
_unitOfWork.CompleteAsync();
return "Event started!!";

}
Expand Down

0 comments on commit db56815

Please sign in to comment.