From 81b1639b9e5d9f3717cbf2e65e1da7f0a8c0ed47 Mon Sep 17 00:00:00 2001 From: Ebuka Date: Fri, 24 Sep 2021 16:41:52 +0100 Subject: [PATCH] Update bank_service.dart The url "https://api.paystack.co/bank?gateway=emandate&pay_with_bank=true" doesn't come with all the banks supported by Paystack. This url "https://api.paystack.co/bank?gateway=&pay_with_bank=true" does --- lib/src/api/service/bank_service.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/api/service/bank_service.dart b/lib/src/api/service/bank_service.dart index a75f280f..0b93dc6f 100644 --- a/lib/src/api/service/bank_service.dart +++ b/lib/src/api/service/bank_service.dart @@ -75,7 +75,7 @@ class BankService with BaseApiService implements BankServiceContract { Future?> _fetchSupportedBanks() async { const url = - 'https://api.paystack.co/bank?gateway=emandate&pay_with_bank=true'; + 'https://api.paystack.co/bank?gateway=&pay_with_bank=true'; try { http.Response response = await http.get(url.toUri()); Map body = json.decode(response.body);