|
@@ -704,8 +704,9 @@ |
|
|
block discarded – undo |
|
704
|
704
|
*/ |
|
705
|
705
|
public function getBanks(?string $country, int $per_page = 50, bool $use_cursor = false) |
|
706
|
706
|
{ |
|
707
|
|
- if (!$country) |
|
708
|
|
- $country = request()->country ?? 'nigeria'; |
|
|
707
|
+ if (!$country) { |
|
|
708
|
+ $country = request()->country ?? 'nigeria'; |
|
|
709
|
+ } |
|
709
|
710
|
|
|
710
|
711
|
$this->setRequestOptions(); |
|
711
|
712
|
return $this->setHttpResponse("/bank/?country=" . $country . "&use_cursor=" . $use_cursor . "&perPage=" . (int) $per_page, "GET")->getResponse(); |
Please login to merge, or discard this patch.