mirror of
https://github.com/geode-sdk/geode.git
synced 2025-04-10 12:04:36 -04:00
use v-less version for geode param
This commit is contained in:
parent
e121323f28
commit
d943897898
1 changed files with 2 additions and 2 deletions
|
@ -557,7 +557,7 @@ ServerRequest<ServerModsList> server::getMods(ModsQuery const& query, bool useCa
|
|||
|
||||
// Always target current GD version and Loader version
|
||||
req.param("gd", GEODE_GD_VERSION_STR);
|
||||
req.param("geode", Loader::get()->getVersion().toVString());
|
||||
req.param("geode", Loader::get()->getVersion().toNonVString());
|
||||
|
||||
// Add search params
|
||||
if (query.query) {
|
||||
|
@ -787,7 +787,7 @@ ServerRequest<std::vector<ServerModUpdate>> server::checkAllUpdates(bool useCach
|
|||
req.userAgent(getServerUserAgent());
|
||||
req.param("platform", GEODE_PLATFORM_SHORT_IDENTIFIER);
|
||||
req.param("gd", GEODE_GD_VERSION_STR);
|
||||
req.param("geode", Loader::get()->getVersion().toVString());
|
||||
req.param("geode", Loader::get()->getVersion().toNonVString());
|
||||
if (modIDs.size()) {
|
||||
req.param("ids", ranges::join(modIDs, ";"));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue