Skip to content
This repository was archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1230 from prarit/MRDiscussionCommit_fix
Browse files Browse the repository at this point in the history
Add CommitID to CreateMergeRequestDiscussionOptions
  • Loading branch information
svanharmelen authored Sep 23, 2021
2 parents 7859f46 + 9efcf32 commit e07e4ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions discussions.go
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,7 @@ func (s *DiscussionsService) GetMergeRequestDiscussion(pid interface{}, mergeReq
// https://docs.gitlab.com/ce/api/discussions.html#create-new-merge-request-thread
type CreateMergeRequestDiscussionOptions struct {
Body *string `url:"body,omitempty" json:"body,omitempty"`
CommitID *string `url:"commit_id,omitempty" json:"commit_id,omitempty"`
CreatedAt *time.Time `url:"created_at,omitempty" json:"created_at,omitempty"`
Position *NotePosition `url:"position,omitempty" json:"position,omitempty"`
}
Expand Down

0 comments on commit e07e4ac

Please sign in to comment.