浏览代码

Fix config name in json

Maxim Baz 7 年之前
父节点
当前提交
72cfd64e36
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      config/config.go

+ 1 - 1
config/config.go

@@ -38,7 +38,7 @@ type Configuration struct {
 	SearchMode int    `json:"-"`
 	SortMode   int    `json:"sortmode"`
 	TarBin     string `json:"tarbin"`
-	TimeUpdate bool   `json:"versionupdate"`
+	TimeUpdate bool   `json:"timeupdate"`
 }
 
 // YayConf holds the current config values for yay.