mirror of
https://github.com/bitwarden/server.git
synced 2025-05-28 23:04:50 -05:00
Disable renewal email for org owners on invoice.upcoming (#3454)
This commit is contained in:
parent
544dadec9f
commit
de32524891
@ -264,9 +264,16 @@ public class StripeController : Controller
|
|||||||
|
|
||||||
await SendEmails(new List<string> { organization.BillingEmail });
|
await SendEmails(new List<string> { organization.BillingEmail });
|
||||||
|
|
||||||
var ownerEmails = await _organizationRepository.GetOwnerEmailAddressesById(organization.Id);
|
/*
|
||||||
|
* TODO: https://bitwarden.atlassian.net/browse/PM-4862
|
||||||
|
* Disabling this as part of a hot fix. It needs to check whether the organization
|
||||||
|
* belongs to a Reseller provider and only send an email to the organization owners if it does.
|
||||||
|
* It also requires a new email template as the current one contains too much billing information.
|
||||||
|
*/
|
||||||
|
|
||||||
await SendEmails(ownerEmails);
|
// var ownerEmails = await _organizationRepository.GetOwnerEmailAddressesById(organization.Id);
|
||||||
|
|
||||||
|
// await SendEmails(ownerEmails);
|
||||||
}
|
}
|
||||||
else if (userId.HasValue)
|
else if (userId.HasValue)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user