Commit 7c28a6b8 authored by Sander van Harmelen's avatar Sander van Harmelen

Make sure we use `IID` instead of `Iid` consistenly

Thanks @lkysow for spotting these!
parent ee48e93a
......@@ -126,7 +126,7 @@ type IssueEvent struct {
Description string `json:"description"`
MilestoneID int `json:"milestone_id"`
State string `json:"state"`
Iid int `json:"iid"`
IID int `json:"iid"`
URL string `json:"url"`
Action string `json:"action"`
} `json:"object_attributes"`
......@@ -406,7 +406,7 @@ type MergeEvent struct {
State string `json:"state"`
MergeStatus string `json:"merge_status"`
TargetProjectID int `json:"target_project_id"`
Iid int `json:"iid"`
IID int `json:"iid"`
Description string `json:"description"`
Position int `json:"position"`
LockedAt string `json:"locked_at"`
......
......@@ -35,7 +35,7 @@ type MilestonesService struct {
// GitLab API docs: https://docs.gitlab.com/ce/api/milestones.html
type Milestone struct {
ID int `json:"id"`
Iid int `json:"iid"`
IID int `json:"iid"`
ProjectID int `json:"project_id"`
Title string `json:"title"`
Description string `json:"description"`
......
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