1
0
mirror of https://github.com/bitwarden/server synced 2025-12-19 17:53:44 +00:00

throw No payment method is available.

This commit is contained in:
Kyle Spearrin
2019-02-21 17:27:57 -05:00
parent 897d913e57
commit de2ca2ff95

View File

@@ -567,7 +567,7 @@ namespace Bit.Core.Services
if(customer.DefaultSource == null || if(customer.DefaultSource == null ||
(!(customer.DefaultSource is Card) && !(customer.DefaultSource is BankAccount))) (!(customer.DefaultSource is Card) && !(customer.DefaultSource is BankAccount)))
{ {
// throw new BadRequestException("No payment method is available."); throw new BadRequestException("No payment method is available.");
} }
} }