fix: do modrinth changes on flame too

Also fix a dumb moment
This commit is contained in:
flow
2022-05-13 11:42:08 -03:00
committed by flow
parent 2fc1b99911
commit 42f8ec5b14
3 changed files with 45 additions and 35 deletions

View File

@ -58,8 +58,8 @@ auto V1::createModFormat(QDir& index_dir, ModPlatform::IndexedPack& mod_pack, Mo
mod.hash = mod_version.hash;
mod.provider = mod_pack.provider;
mod.file_id = mod_pack.addonId;
mod.project_id = mod_version.fileId;
mod.file_id = mod_version.fileId;
mod.project_id = mod_pack.addonId;
return mod;
}