fix(index): don't remove gd and geode params (#1152)

This commit is contained in:
Fleeym 2024-11-14 23:56:20 +02:00 committed by GitHub
parent c4f6758ab4
commit 9151c73374
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -570,11 +570,10 @@ ServerRequest<ServerModsList> server::getMods(ModsQuery const& query, bool useCa
// Add search params
if (query.query) {
req.param("query", *query.query);
} else {
// Target current GD version and Loader version when query is not set
}
req.param("gd", GEODE_GD_VERSION_STR);
req.param("geode", Loader::get()->getVersion().toNonVString());
}
if (query.platforms.size()) {
std::string plats = "";