# HG changeset patch # User Mikael Berthe # Date 1494015537 -7200 # Node ID 2541f5050df3c2c58da3ea80b2c65e6cf8ccbb2b # Parent 3490817942325d523774aaa2bf17bb33fad909e7 Fix Descendants spelling Fixes #4 (bug in status context). diff -r 349081794232 -r 2541f5050df3 madon.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" diff -r 349081794232 -r 2541f5050df3 types.go --- 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