Skip to content

Commit

Permalink
Fix Descendants spelling
Browse files Browse the repository at this point in the history
Fixes #4 (bug in status context).
  • Loading branch information
McKael committed May 5, 2017
1 parent 6a2c5ef commit d557dcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion madon.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type apiCallParams map[string]string

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"
Expand Down
2 changes: 1 addition & 1 deletion types.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ type Card struct {
// 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
Expand Down

0 comments on commit d557dcc

Please sign in to comment.