Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceredron committed Oct 23, 2024
1 parent 0f29a8a commit d64e364
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ private List<NotificationOrderRequest> CreateNotifications(NotificationRequest n
},
ResourceId = correspondence.ResourceId,
RequestedSendTime = _hostEnvironment.IsProduction() ? notificationOrder.RequestedSendTime.Value.AddDays(7) : notificationOrder.RequestedSendTime.Value.AddHours(1),
ConditionEndpoint = CreateConditonEndpoint(correspondence.Id.ToString()),
ConditionEndpoint = CreateConditionEndpoint(correspondence.Id.ToString()),
SendersReference = correspondence.SendersReference,
NotificationChannel = notification.ReminderNotificationChannel ?? notification.NotificationChannel,
EmailTemplate = new EmailTemplate
Expand Down Expand Up @@ -363,7 +363,7 @@ private List<NotificationContent> GetMessageContent(NotificationRequest request,
return content;
}

private Uri? CreateConditonEndpoint(string correspondenceId)
private Uri? CreateConditionEndpoint(string correspondenceId)
{
var conditionEndpoint = new Uri($"{_generalSettings.CorrespondenceBaseUrl.TrimEnd('/')}/correspondence/api/v1/correspondence/{correspondenceId}/notification/check");
if (conditionEndpoint.Host == "localhost")
Expand Down

0 comments on commit d64e364

Please sign in to comment.