mirror of
https://github.com/bitwarden/server.git
synced 2025-05-21 03:24:31 -05:00
throw No payment method is available.
This commit is contained in:
parent
897d913e57
commit
de2ca2ff95
@ -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.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user