Browse Source

fix(sinksMeta): remove spaces in field name

ysfscream 4 years atrás
parent
commit
71501103af
1 changed files with 2 additions and 2 deletions
  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"`