diff --git a/src/DownloadManager.cpp b/src/DownloadManager.cpp index df0984043b..da1ed06b1d 100644 --- a/src/DownloadManager.cpp +++ b/src/DownloadManager.cpp @@ -31,8 +31,8 @@ shared_ptr DLMAN = nullptr; static Preference maxDLPerSecond("maximumBytesDownloadedPerSecond", 0); static Preference maxDLPerSecondGameplay("maximumBytesDownloadedPerSecondDuringGameplay", 300000); -static Preference packListURL("getPackListURL", "https://api.etternaonline.com/v2/packs"); -static Preference serverURL("UploadServerAPIURL", "https://api.etternaonline.com/v2"); +static Preference packListURL("PackListURL", "https://api.etternaonline.com/v2/packs"); +static Preference serverURL("BaseAPIURL", "https://api.etternaonline.com/v2"); static Preference automaticSync("automaticScoreSync", 1); static Preference downloadPacksToAdditionalSongs("downloadPacksToAdditionalSongs", 0); static const string TEMP_ZIP_MOUNT_POINT = "/@temp-zip/"; @@ -678,7 +678,7 @@ bool DownloadManager::ShouldUploadScores() inline void SetCURLPOSTScore(CURL*& curlHandle, curl_httppost*& form, curl_httppost*& lastPtr, HighScore*& hs) { SetCURLFormPostField(curlHandle, form, lastPtr, "scorekey", hs->GetScoreKey()); - SetCURLFormPostField(curlHandle, form, lastPtr, "ValidString", hs->GenerateValidationKeys()); + hs->GenerateValidationKeys(); SetCURLFormPostField(curlHandle, form, lastPtr, "ssr_norm", hs->norms); SetCURLFormPostField(curlHandle, form, lastPtr, "max_combo", hs->GetMaxCombo()); SetCURLFormPostField(curlHandle, form, lastPtr, "valid", static_cast(hs->GetEtternaValid()));