mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
fix: auto-select single sub-option and remove unused return_url field
- Auto-select sub-option even when only 1 exists (backend needs suffix) - Remove return_url from public LandingPaymentMethod (backend doesn't send it) - Add else branch in auto-select for defensive null reset
This commit is contained in:
@@ -42,7 +42,6 @@ export interface LandingPaymentMethod {
|
||||
min_amount_kopeks: number | null;
|
||||
max_amount_kopeks: number | null;
|
||||
currency: string | null;
|
||||
return_url: string | null;
|
||||
sub_options: LandingPaymentMethodSubOption[] | null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user