usability fixes
This commit is contained in:
@@ -105,9 +105,11 @@ class BatchController extends ChangeNotifier {
|
||||
}
|
||||
}
|
||||
|
||||
Future<ApiResponse<List<PaymentProcessor>>> loadProcessors() async {
|
||||
Future<ApiResponse<List<PaymentProcessor>>> loadProcessors(currency) async {
|
||||
try {
|
||||
final raw = await http.get('/public/payment-processors');
|
||||
final raw = await http.get(
|
||||
'/public/payment-processors?currency=$currency',
|
||||
);
|
||||
final response = _unwrap(raw);
|
||||
final List<dynamic> content = response is List
|
||||
? response
|
||||
|
||||
Reference in New Issue
Block a user