How did i-

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad 2023-04-07 11:03:11 +01:00
parent b65f4c9536
commit 813ccc1381

View File

@ -164,7 +164,7 @@ void ModrinthPackExportTask::parseApiResponse(QByteArray* response)
task = nullptr;
try {
QJsonDocument doc = Json::requireDocument(*response);
const QJsonDocument doc = Json::requireDocument(*response);
QMapIterator<QString, QString> iterator(pendingHashes);
while (iterator.hasNext()) {
@ -188,6 +188,7 @@ void ModrinthPackExportTask::parseApiResponse(QByteArray* response)
qWarning() << "Failed to parse versions response" << e.what();
}
pendingHashes.clear();
buildZip();
}
void ModrinthPackExportTask::buildZip()