diff --git a/okapi.cpp b/okapi.cpp index 142a12b..dda8ee5 100644 --- a/okapi.cpp +++ b/okapi.cpp @@ -287,7 +287,7 @@ void Okapi::update_caches_ratings(Caches& cc) const { } codes_list.pop_back(); // remove trailing '|' - get_caches_json(codes_list); + get_caches_ratings_json(codes_list); json j = json::parse(curl_output); codes_list.clear();