From ced12ca83fcfd5649a691ca0a853319e5d1389e6 Mon Sep 17 00:00:00 2001 From: Juraj Mlich Date: Sat, 8 Jun 2019 16:04:37 +0200 Subject: [PATCH] Correct ratesapi URL --- app/Services/Currency/RatesApiIOv1.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Currency/RatesApiIOv1.php b/app/Services/Currency/RatesApiIOv1.php index 2c606ddfec..f24f61ffe6 100644 --- a/app/Services/Currency/RatesApiIOv1.php +++ b/app/Services/Currency/RatesApiIOv1.php @@ -71,7 +71,7 @@ class RatesApiIOv1 implements ExchangeRateInterface // build URI $uri = sprintf( - 'https://ratesapi.io/api/%s?base=%s&symbols=%s', + 'https://api.ratesapi.io/api/%s?base=%s&symbols=%s', $date->format('Y-m-d'), $fromCurrency->code, $toCurrency->code ); Log::debug(sprintf('Going to request exchange rate using URI %s', $uri));