mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 00:52:49 -05:00
throw No payment method is available.
This commit is contained in:
@ -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.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user