mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 01:45:35 -05:00
fix(index): don't remove gd and geode params (#1152)
This commit is contained in:
parent
c4f6758ab4
commit
9151c73374
1 changed files with 3 additions and 4 deletions
|
@ -570,12 +570,11 @@ ServerRequest<ServerModsList> server::getMods(ModsQuery const& query, bool useCa
|
||||||
// Add search params
|
// Add search params
|
||||||
if (query.query) {
|
if (query.query) {
|
||||||
req.param("query", *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());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
req.param("gd", GEODE_GD_VERSION_STR);
|
||||||
|
req.param("geode", Loader::get()->getVersion().toNonVString());
|
||||||
|
|
||||||
if (query.platforms.size()) {
|
if (query.platforms.size()) {
|
||||||
std::string plats = "";
|
std::string plats = "";
|
||||||
bool first = true;
|
bool first = true;
|
||||||
|
|
Loading…
Reference in a new issue