mirror of
https://github.com/bitwarden/server
synced 2025-12-22 03:03:33 +00:00
Fix double email send
This commit is contained in:
@@ -92,8 +92,6 @@ namespace Bit.Core.Services
|
|||||||
sponsorship = await _organizationSponsorshipRepository.CreateAsync(sponsorship);
|
sponsorship = await _organizationSponsorshipRepository.CreateAsync(sponsorship);
|
||||||
|
|
||||||
await SendSponsorshipOfferAsync(sponsoringOrg, sponsorship);
|
await SendSponsorshipOfferAsync(sponsoringOrg, sponsorship);
|
||||||
await _mailService.SendFamiliesForEnterpriseOfferEmailAsync(sponsoredEmail, sponsoringOrg.Name,
|
|
||||||
RedemptionToken(sponsorship.Id, sponsorshipType));
|
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user