diff --git a/gitlab/payload.go b/gitlab/payload.go index cdf9fb4..446a237 100644 --- a/gitlab/payload.go +++ b/gitlab/payload.go @@ -881,7 +881,7 @@ type Author struct { // Changes contains all changes associated with a GitLab issue or MR type Changes struct { LabelChanges LabelChanges `json:"labels"` - DraftChanges DraftChanges `json:"drafts"` + DraftChanges DraftChanges `json:"draft"` } // LabelChanges contains changes in labels associated with a GitLab issue or MR