diff --git a/app/Utils/Helper.php b/app/Utils/Helper.php index d74e0ee6..44341dcf 100644 --- a/app/Utils/Helper.php +++ b/app/Utils/Helper.php @@ -25,7 +25,7 @@ class Helper public static function exchange($from, $to) { - $result = file_get_contents('https://api.exchangeratesapi.io/latest?symbols=' . $to . '&base=' . $from); + $result = file_get_contents('https://api.exchangerate.host/latest?symbols=' . $to . '&base=' . $from); $result = json_decode($result, true); return $result['rates'][$to]; }