Skip to content

Commit

Permalink
ensuring recipient org number is persisted to notification (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
acn-sbuad authored May 8, 2024
1 parent a7a0651 commit ed2cdc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public async Task AddNotification(EmailNotification notification, DateTime expir

pgcom.Parameters.AddWithValue(NpgsqlDbType.Uuid, notification.OrderId);
pgcom.Parameters.AddWithValue(NpgsqlDbType.Uuid, notification.Id);
pgcom.Parameters.AddWithValue(NpgsqlDbType.Text, (object)DBNull.Value); // recipientorgno
pgcom.Parameters.AddWithValue(NpgsqlDbType.Text, notification.Recipient.OrganizationNumber ?? (object)DBNull.Value);
pgcom.Parameters.AddWithValue(NpgsqlDbType.Text, notification.Recipient.NationalIdentityNumber ?? (object)DBNull.Value);
pgcom.Parameters.AddWithValue(NpgsqlDbType.Text, notification.Recipient.ToAddress);
pgcom.Parameters.AddWithValue(NpgsqlDbType.Text, notification.SendResult.Result.ToString());
Expand Down

0 comments on commit ed2cdc8

Please sign in to comment.