Skip to content

Commit

Permalink
Fix notification type mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Smrecz committed Mar 16, 2023
1 parent f8a2339 commit 1b373d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tatum.Notifications/TatumNotifications.cs
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ private async Task<Result<AddressBasedNotification<TChainEnum>>> CreateAddressBa
if (result.Success)
{
notification.Id = result.Value.Id;
notification.Type = notificationRequest.Type;
return notification;
}

Expand All @@ -212,6 +213,7 @@ private async Task<Result<BlockBasedNotification<TChainEnum>>> CreateBlockBasedN
if (result.Success)
{
notification.Id = result.Value.Id;
notification.Type = notificationRequest.Type;
return notification;
}

Expand Down

0 comments on commit 1b373d2

Please sign in to comment.