Fix Descendants spelling
authorMikael Berthe <mikael@lilotux.net>
Fri, 05 May 2017 22:18:57 +0200
changeset 175 2541f5050df3
parent 174 349081794232
child 176 61cc08974a28
Fix Descendants spelling Fixes #4 (bug in status context).
madon.go
types.go
--- a/madon.go	Mon May 01 19:47:38 2017 +0000
+++ b/madon.go	Fri May 05 22:18:57 2017 +0200
@@ -23,7 +23,7 @@
 
 const (
 	// MadonVersion contains the version of the Madon library
-	MadonVersion = "1.4.2"
+	MadonVersion = "1.4.3"
 
 	// API version implemented in this library
 	apiVersion     = "v1"
--- a/types.go	Mon May 01 19:47:38 2017 +0000
+++ b/types.go	Fri May 05 22:18:57 2017 +0200
@@ -70,7 +70,7 @@
 // Context represents a Mastodon context entity
 type Context struct {
 	Ancestors   []Status `json:"ancestors"`
-	Descendents []Status `json:"descendents"`
+	Descendants []Status `json:"descendants"`
 }
 
 // Error represents a Mastodon error entity