Skip to content

Commit

Permalink
(#126) notification service frinedInvitedHandler udpate
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintAngeLs committed May 28, 2024
1 parent 340971c commit 14c2a0f
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,6 @@ public async Task HandleAsync(FriendInvited @event, CancellationToken cancellati
var studentNotifications = await _studentNotificationsRepository.GetByStudentIdAsync(@event.InviteeId) ?? new StudentNotifications(@event.InviteeId);
studentNotifications.AddNotification(notification);
await _studentNotificationsRepository.UpdateAsync(studentNotifications);


// var externalEvent = _eventMapper.Map(notificationCreatedEvent);
// if (externalEvent != null)
// {
// await _messageBroker.PublishAsync(externalEvent);
// }
// else
// {
// Console.WriteLine("5555555555555555555555555555555555Failed to map the domain event to an external event.");
// }
}

}
Expand Down

0 comments on commit 14c2a0f

Please sign in to comment.