Skip to content

Commit

Permalink
Merge branch 'develop' into test
Browse files Browse the repository at this point in the history
  • Loading branch information
neophyte57 committed May 1, 2024
2 parents dc333c9 + 67fb685 commit 069854c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions prime-dotnet-webapi/Services/EmailRenderingService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public async Task<Email> RenderRemoteUsersUpdatedEmailAsync(RemoteUsersUpdatedEm

public async Task<Email> RenderRenewalPassedEmailAsync(string recipientEmail, EnrolleeRenewalEmailViewModel viewModel)
{
viewModel.PrimeUrl = $"{PrimeConfiguration.Current.FrontendUrl}/info";
viewModel.PrimeUrl = PrimeConfiguration.Current.FrontendUrl;
var emailTemplate = await _emailTemplateService.GetEmailTemplateByTypeAsync(EmailTemplateType.EnrolleeRenewalPassed);

return new Email
Expand All @@ -115,7 +115,7 @@ public async Task<Email> RenderRenewalPassedEmailAsync(string recipientEmail, En

public async Task<Email> RenderForcedRenewalPassedEmailAsync(string recipientEmail, EnrolleeRenewalEmailViewModel viewModel)
{
viewModel.PrimeUrl = $"{PrimeConfiguration.Current.FrontendUrl}/info";
viewModel.PrimeUrl = PrimeConfiguration.Current.FrontendUrl;
var emailTemplate = await _emailTemplateService.GetEmailTemplateByTypeAsync(EmailTemplateType.ForcedRenewalPassedNotification);

return new Email
Expand All @@ -129,7 +129,7 @@ public async Task<Email> RenderForcedRenewalPassedEmailAsync(string recipientEma

public async Task<Email> RenderRenewalRequiredEmailAsync(string recipientEmail, EnrolleeRenewalEmailViewModel viewModel)
{
viewModel.PrimeUrl = $"{PrimeConfiguration.Current.FrontendUrl}/info";
viewModel.PrimeUrl = PrimeConfiguration.Current.FrontendUrl;
var emailTemplate = await _emailTemplateService.GetEmailTemplateByTypeAsync(EmailTemplateType.EnrolleeRenewalRequired);

return new Email
Expand All @@ -143,7 +143,7 @@ public async Task<Email> RenderRenewalRequiredEmailAsync(string recipientEmail,

public async Task<Email> RenderForcedRenewalEmailAsync(string recipientEmail, EnrolleeRenewalEmailViewModel viewModel)
{
viewModel.PrimeUrl = $"{PrimeConfiguration.Current.FrontendUrl}/info";
viewModel.PrimeUrl = PrimeConfiguration.Current.FrontendUrl;
var emailTemplate = await _emailTemplateService.GetEmailTemplateByTypeAsync(EmailTemplateType.ForcedRenewalNotification);

return new Email
Expand Down

0 comments on commit 069854c

Please sign in to comment.