From cb0505bf8a08e3c5f75633ea59062d506ee2bafc Mon Sep 17 00:00:00 2001 From: cipig Date: Thu, 22 Feb 2024 22:45:36 +0000 Subject: [PATCH] no tickers_v2.json here --- src/core/atomicdex/api/komodo_prices/komodo.prices.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/atomicdex/api/komodo_prices/komodo.prices.cpp b/src/core/atomicdex/api/komodo_prices/komodo.prices.cpp index 0286793ecd..22d86d8527 100644 --- a/src/core/atomicdex/api/komodo_prices/komodo.prices.cpp +++ b/src/core/atomicdex/api/komodo_prices/komodo.prices.cpp @@ -79,7 +79,8 @@ namespace atomic_dex::komodo_prices::api { web::http::http_request req; req.set_method(web::http::methods::GET); - std::string endpoint = fallback ? "api/v2/tickers?expire_at=259200" : "api/v3/prices/tickers_v2.json?expire_at=259200"; + //std::string endpoint = fallback ? "api/v2/tickers?expire_at=259200" : "api/v3/prices/tickers_v2.json?expire_at=259200"; + std::string endpoint = "/api/v2/tickers?expire_at=259200"; if (fallback) { SPDLOG_INFO("url: {}", TO_STD_STR(g_komodo_prices_client_fallback->base_uri().to_string()) + endpoint);