Add update logic for single mods

This commit is contained in:
comp500
2019-06-16 16:01:49 +01:00
parent b6c71191d4
commit 06c5b08813
2 changed files with 98 additions and 4 deletions

View File

@@ -281,8 +281,8 @@ func (u cfUpdater) DoUpdate(mods []*core.Mod, cachedState []interface{}) error {
Hash: strconv.Itoa(modState.fileInfo.Fingerprint),
}
v.Update["curseforge"]["ProjectID"] = modState.ID
v.Update["curseforge"]["FileID"] = modState.fileInfo.ID
v.Update["curseforge"]["project-id"] = modState.ID
v.Update["curseforge"]["file-id"] = modState.fileInfo.ID
}
return nil