Remove unnecessary code
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
94ddc8bbf7
commit
f4a814b5e6
@ -301,9 +301,7 @@ QByteArray ModrinthPackExportTask::generateIndex()
|
||||
const ResolvedFile& value = iterator.value();
|
||||
|
||||
QJsonObject file;
|
||||
QString path = iterator.key();
|
||||
path.replace(QDir::separator(), "/");
|
||||
file["path"] = path;
|
||||
file["path"] = iterator.key();
|
||||
file["downloads"] = QJsonArray({ iterator.value().url });
|
||||
|
||||
QJsonObject hashes;
|
||||
|
Loading…
Reference in New Issue
Block a user