diff --git a/src/galaxyapi.cpp b/src/galaxyapi.cpp index 50f9820..12916b3 100644 --- a/src/galaxyapi.cpp +++ b/src/galaxyapi.cpp @@ -312,7 +312,9 @@ gameDetails galaxyAPI::productInfoJsonToGameDetails(const Json::Value& json, con gamedetails.product_id = json["id"].asString(); gamedetails.title = json["title"].asString(); gamedetails.icon = "https:" + json["images"]["icon"].asString(); - gamedetails.logo = "https:" + json["images"]["logo2x"].asString(); + std::string logo = "https:" + json["images"]["logo"].asString(); + + gamedetails.logo = logo.substr(0, logo.length() - 13) + ".jpg"; if (json.isMember("changelog")) gamedetails.changelog = json["changelog"].asString();