author | Mikael Berthe <mikael@lilotux.net> |
Mon, 01 May 2017 19:18:10 +0200 | |
changeset 172 | 1f8ea3aa20e7 |
parent 171 | 1a311b0316d2 |
child 173 | 6f618f9086bf |
--- 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"` }