adasd
This commit is contained in:
@@ -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')]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user