mirror of
https://github.com/bitwarden/server.git
synced 2025-04-02 18:06:07 +02:00
No longer sending upcoming invoice reminder for invoices with a $0 balance (#4593)
This commit is contained in:
parent
eb72a70bcf
commit
fb270b538e
@ -147,7 +147,7 @@ public class UpcomingInvoiceHandler : IUpcomingInvoiceHandler
|
||||
{
|
||||
var validEmails = emails.Where(e => !string.IsNullOrEmpty(e));
|
||||
|
||||
if (invoice.NextPaymentAttempt.HasValue)
|
||||
if (invoice.NextPaymentAttempt.HasValue && invoice.AmountDue > 0)
|
||||
{
|
||||
await _mailService.SendInvoiceUpcoming(
|
||||
validEmails,
|
||||
|
Loading…
Reference in New Issue
Block a user