瀏覽代碼

JSON format

Philipp Heckel 3 年之前
父節點
當前提交
967cde1fb5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server/types.go

+ 1 - 1
server/types.go

@@ -46,7 +46,7 @@ type attachment struct {
 type action struct {
 	Action string `json:"action"`
 	Label  string `json:"label"`
-	URL    string `json:"URL,omitempty"`
+	URL    string `json:"url,omitempty"`
 }
 
 // publishMessage is used as input when publishing as JSON