Skip to content

Commit

Permalink
fix(appManagement): not getting Emails on the Rejection of App Releas…
Browse files Browse the repository at this point in the history
…e Request

Ref: 1015
  • Loading branch information
tfjanjua committed Sep 19, 2024
1 parent 79b60eb commit 1ae2528
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/marketplace/Offers.Library/Service/OfferService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -560,8 +560,6 @@ public async Task DeclineOfferAsync(Guid offerId, OfferDeclineRequest data, Offe
await notificationService.CreateNotifications(notificationRecipients, _identityData.IdentityId, content, declineData.CompanyId.Value).AwaitAll().ConfigureAwait(false);
await notificationService.SetNotificationsForOfferToDone(catenaAdminRoles, submitOfferNotificationTypeIds, offerId).ConfigureAwait(ConfigureAwaitOptions.None);

await portalRepositories.SaveAsync().ConfigureAwait(ConfigureAwaitOptions.None);

await mailingProcessCreation.RoleBaseSendMail(
notificationRecipients,
new[]
Expand All @@ -576,6 +574,8 @@ await mailingProcessCreation.RoleBaseSendMail(
$"{offerType.ToString().ToLower()}-request-decline"
},
declineData.CompanyId.Value).ConfigureAwait(ConfigureAwaitOptions.None);

await portalRepositories.SaveAsync().ConfigureAwait(ConfigureAwaitOptions.None);
}

private async Task CheckLanguageCodesExist(IEnumerable<string> languageCodes)
Expand Down

0 comments on commit 1ae2528

Please sign in to comment.