Fix Descendants spelling
Fixes #4 (bug in status context).
--- 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