1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-20 11:04:31 -05: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 ||
(!(customer.DefaultSource is Card) && !(customer.DefaultSource is BankAccount)))
{
// throw new BadRequestException("No payment method is available.");
throw new BadRequestException("No payment method is available.");
}
}