Commit ec65bc79 authored by Zaq? Wiedmann's avatar Zaq? Wiedmann Committed by Sander van Harmelen

(mr) merge requests only have 1 assignee (#294)

this may change in the future with: https://gitlab.com/gitlab-org/gitlab-ee/issues/2004

Ref: https://docs.gitlab.com/ce/api/merge_requests.html
parent c85e4e9d
...@@ -53,13 +53,13 @@ type MergeRequest struct { ...@@ -53,13 +53,13 @@ type MergeRequest struct {
State string `json:"state"` State string `json:"state"`
CreatedAt *time.Time `json:"created_at"` CreatedAt *time.Time `json:"created_at"`
} `json:"author"` } `json:"author"`
Assignees []struct { Assignee struct {
ID int `json:"id"` ID int `json:"id"`
Username string `json:"username"` Username string `json:"username"`
Name string `json:"name"` Name string `json:"name"`
State string `json:"state"` State string `json:"state"`
CreatedAt *time.Time `json:"created_at"` CreatedAt *time.Time `json:"created_at"`
} `json:"assignees"` } `json:"assignee"`
SourceProjectID int `json:"source_project_id"` SourceProjectID int `json:"source_project_id"`
TargetProjectID int `json:"target_project_id"` TargetProjectID int `json:"target_project_id"`
Labels []string `json:"labels"` Labels []string `json:"labels"`
......
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