Skip to content

Commit 7ab63f4

Browse files
committed
add Type to distinguish gitlab DiffNote and DiscussionNote
1 parent db5a08d commit 7ab63f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gitlab/payload.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,7 @@ type ObjectAttributes struct {
731731
LastCommit LastCommit `json:"last_commit"`
732732
Assignee Assignee `json:"assignee"`
733733
DiscussionID string `json:"discussion_id"` // thread id
734+
Type string `json:"type"` // "DiffNote" or "DiscussionNote"
734735
}
735736

736737
// PipelineObjectAttributes contains pipeline specific GitLab object attributes information

0 commit comments

Comments
 (0)