diff --git a/include/api.h b/include/api.h index ff301e9..2ac2af4 100644 --- a/include/api.h +++ b/include/api.h @@ -85,7 +85,7 @@ class API std::string getResponseOAuth(const std::string& url); int getUserDetails(); int getGames(); - gameDetails getGameDetails(const std::string& game_name, const unsigned int& type = GlobalConstants::PLATFORM_WINDOWS, const unsigned int& lang = GlobalConstants::LANGUAGE_EN, const bool& useDuplicateHandler = false); + gameDetails getGameDetails(const std::string& game_name, const unsigned int& platform = GlobalConstants::PLATFORM_WINDOWS, const unsigned int& lang = GlobalConstants::LANGUAGE_EN, const bool& useDuplicateHandler = false); std::string getInstallerLink(const std::string& game_name, const std::string& id); std::string getExtraLink(const std::string& game_name, const std::string& id); std::string getPatchLink(const std::string& game_name, const std::string& id);