adasd
All checks were successful
Deploy / deploy-staging (push) Successful in 5s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-04-29 01:31:47 +02:00
parent b76edb49b0
commit af1d94a3b6
5 changed files with 75 additions and 24 deletions

View File

@@ -88,14 +88,6 @@ final class Router
$this->respond(['data' => $this->service->probeLatestRates($base)]);
}
if ($path === 'v1/currencies-probe' && $method === 'GET') {
$this->respond(['data' => $this->service->probeCurrencyCatalog()]);
}
if ($path === 'v1/currencies-refresh' && $method === 'POST') {
$this->respond(['data' => $this->service->refreshCurrencyCatalog()], 201);
}
if ($path === 'v1/settings' && $method === 'GET') {
$this->respond(['data' => module_fn('fx-rates', 'settings')]);
}