Unverified Commit eb6ccd3e authored by Sander van Harmelen's avatar Sander van Harmelen Committed by GitHub

Update the Issue struct (#503)

It seems some fields were outdated/wrong. Fixes #502
parent 22744b36
...@@ -43,29 +43,29 @@ type Issue struct { ...@@ -43,29 +43,29 @@ type Issue struct {
Milestone *Milestone `json:"milestone"` Milestone *Milestone `json:"milestone"`
Author struct { Author struct {
ID int `json:"id"` ID int `json:"id"`
Username string `json:"username"`
Email string `json:"email"`
Name string `json:"name"`
State string `json:"state"` State string `json:"state"`
CreatedAt *time.Time `json:"created_at"` WebURL string `json:"web_url"`
Name string `json:"name"`
AvatarURL string `json:"avatar_url"`
Username string `json:"username"`
} `json:"author"` } `json:"author"`
Description string `json:"description"` Description string `json:"description"`
State string `json:"state"` State string `json:"state"`
Assignees []struct { Assignees []struct {
ID int `json:"id"` ID int `json:"id"`
Username string `json:"username"`
Email string `json:"email"`
Name string `json:"name"`
State string `json:"state"` State string `json:"state"`
CreatedAt *time.Time `json:"created_at"` WebURL string `json:"web_url"`
Name string `json:"name"`
AvatarURL string `json:"avatar_url"`
Username string `json:"username"`
} `json:"assignees"` } `json:"assignees"`
Assignee struct { Assignee struct {
ID int `json:"id"` ID int `json:"id"`
Name string `json:"name"`
Username string `json:"username"`
State string `json:"state"` State string `json:"state"`
AvatarURL string `json:"avatar_url"`
WebURL string `json:"web_url"` WebURL string `json:"web_url"`
Name string `json:"name"`
AvatarURL string `json:"avatar_url"`
Username string `json:"username"`
} `json:"assignee"` } `json:"assignee"`
Upvotes int `json:"upvotes"` Upvotes int `json:"upvotes"`
Downvotes int `json:"downvotes"` Downvotes int `json:"downvotes"`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment