Skip to content

Commit

Permalink
no tickers_v2.json here
Browse files Browse the repository at this point in the history
  • Loading branch information
cipig committed Feb 22, 2024
1 parent edca5e1 commit cb0505b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/atomicdex/api/komodo_prices/komodo.prices.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cb0505b

Please sign in to comment.