changeset 172 | 1f8ea3aa20e7 |
parent 159 | 408aa794d9bb |
child 175 | 2541f5050df3 |
--- a/types.go Mon May 01 13:55:10 2017 +0000 +++ b/types.go Mon May 01 19:18:10 2017 +0200 @@ -51,7 +51,7 @@ // 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"` @@ -116,7 +116,7 @@ // Report represents a Mastodon report entity type Report struct { - ID int64 `json:"iD"` + ID int64 `json:"id"` ActionTaken string `json:"action_taken"` }