Skip to content

Commit

Permalink
Fix case mistakes in JSON tags
Browse files Browse the repository at this point in the history
  • Loading branch information
McKael committed May 1, 2017
1 parent dc1eb25 commit 6c1a0ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type Application struct {

// Attachment represents a Mastodon attachement entity
type Attachment struct {
ID int64 `json:"iD"`
ID int64 `json:"id"`
Type string `json:"type"`
URL string `json:"url"`
RemoteURL string `json:"remote_url"`
Expand Down Expand Up @@ -116,7 +116,7 @@ type Relationship struct {

// Report represents a Mastodon report entity
type Report struct {
ID int64 `json:"iD"`
ID int64 `json:"id"`
ActionTaken string `json:"action_taken"`
}

Expand Down

0 comments on commit 6c1a0ec

Please sign in to comment.