Merge pull request #3051 from PrismLauncher/backport-3045-to-release-9.x

[Backport release-9.x] disable retry for modrinth currentVersions API
This commit is contained in:
Alexandru Ionut Tripon 2024-11-03 11:56:07 +02:00 committed by GitHub
commit 3977918c5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +34,7 @@ Task::Ptr ModrinthAPI::currentVersions(const QStringList& hashes, QString hash_f
auto body_raw = body.toJson(); auto body_raw = body.toJson();
netJob->addNetAction(Net::ApiUpload::makeByteArray(QString(BuildConfig.MODRINTH_PROD_URL + "/version_files"), response, body_raw)); netJob->addNetAction(Net::ApiUpload::makeByteArray(QString(BuildConfig.MODRINTH_PROD_URL + "/version_files"), response, body_raw));
netJob->setAskRetry(false);
return netJob; return netJob;
} }