mirror of
https://github.com/packwiz/packwiz.git
synced 2025-04-19 21:16:30 +02:00
Remove release-channel
This commit is contained in:
parent
9ef87bc0d3
commit
1cbc9d4a11
@ -169,8 +169,6 @@ func createModFile(modInfo modInfo, fileInfo modFileInfo, index *core.Index) err
|
||||
updateMap["curseforge"], err = cfUpdateData{
|
||||
ProjectID: modInfo.ID,
|
||||
FileID: fileInfo.ID,
|
||||
// TODO: determine update channel
|
||||
ReleaseChannel: "beta",
|
||||
}.ToMap()
|
||||
if err != nil {
|
||||
return err
|
||||
@ -280,9 +278,8 @@ func matchGameVersions(mcVersion string, modMcVersions []string) bool {
|
||||
}
|
||||
|
||||
type cfUpdateData struct {
|
||||
ProjectID int `mapstructure:"project-id"`
|
||||
FileID int `mapstructure:"file-id"`
|
||||
ReleaseChannel string `mapstructure:"release-channel"`
|
||||
ProjectID int `mapstructure:"project-id"`
|
||||
FileID int `mapstructure:"file-id"`
|
||||
}
|
||||
|
||||
func (u cfUpdateData) ToMap() (map[string]interface{}, error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user