Skip to content

Firefly III: a personal finances manager

Correct ratesapi URL

Juraj Mlichced12ca83fcf
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));