Merge pull request #178 from SirMangler/patch-2

GeckoCodeConfig: Use correct variable name
This commit is contained in:
Tinob 2020-10-26 17:26:54 -03:00 committed by GitHub
commit abaa23cadc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ std::vector<GeckoCode> DownloadCodes(std::string gameid, bool* succeeded)
}
// codes.rc24.xyz is a mirror of the now defunct geckocodes.org.
std::string endpoint{"https://codes.rc24.xyz/txt.php?txt=" + gametdb_id};
std::string endpoint{"https://codes.rc24.xyz/txt.php?txt=" + gameid};
Common::HttpRequest http;
const Common::HttpRequest::Response response = http.Get(endpoint);