GeckoCodeConfig: Use correct variable

This was a pretty silly mistake on my half.
This commit is contained in:
Sir Mangler 2020-10-26 14:37:00 +00:00 committed by GitHub
parent bc61fa90ac
commit 8e8e4d8314
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);