瀏覽代碼

fix(sinksMeta): remove spaces in field name

ysfscream 4 年之前
父節點
當前提交
71501103af
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      plugins/sinkMeta.go

+ 2 - 2
plugins/sinkMeta.go

@@ -36,7 +36,7 @@ type (
 		Values   interface{}   `json:"values"`
 	}
 	fileAbout struct {
-		Trial       bool          `json:"trial "`
+		Trial       bool          `json:"trial"`
 		Author      *author       `json:"author"`
 		HelpUrl     *fileLanguage `json:"helpUrl"`
 		Description *fileLanguage `json:"description"`
@@ -51,7 +51,7 @@ type (
 		Chinese string `json:"zh"`
 	}
 	about struct {
-		Trial       bool      `json:"trial "`
+		Trial       bool      `json:"trial"`
 		Author      *author   `json:"author"`
 		HelpUrl     *language `json:"helpUrl"`
 		Description *language `json:"description"`