Skip to content

Commit 5ca0fb8

Browse files
committed
Fix ordering and add omitempty
1 parent 7295479 commit 5ca0fb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

epics.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,14 +211,14 @@ func (s *EpicsService) CreateEpic(gid interface{}, opt *CreateEpicOptions, optio
211211
// GitLab API docs: https://docs.gitlab.com/ee/api/epics.html#update-epic
212212
type UpdateEpicOptions struct {
213213
Title *string `url:"title,omitempty" json:"title,omitempty"`
214+
Confidential *bool `url:"confidential,omitempty" json:"confidential,omitempty"`
214215
Description *string `url:"description,omitempty" json:"description,omitempty"`
215216
Labels *Labels `url:"labels,comma,omitempty" json:"labels,omitempty"`
216217
StartDateIsFixed *bool `url:"start_date_is_fixed,omitempty" json:"start_date_is_fixed,omitempty"`
217218
StartDateFixed *ISOTime `url:"start_date_fixed,omitempty" json:"start_date_fixed,omitempty"`
218219
DueDateIsFixed *bool `url:"due_date_is_fixed,omitempty" json:"due_date_is_fixed,omitempty"`
219220
DueDateFixed *ISOTime `url:"due_date_fixed,omitempty" json:"due_date_fixed,omitempty"`
220221
StateEvent *string `url:"state_event,omitempty" json:"state_event,omitempty"`
221-
Confidential *bool `url:"confidential" json:"confidential"`
222222
}
223223

224224
// UpdateEpic updates an existing group epic. This function is also used

0 commit comments

Comments
 (0)