Răsfoiți Sursa

JSON format

Philipp Heckel 3 ani în urmă
părinte
comite
967cde1fb5
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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