Skip to content

Commit 36a6881

Browse files
authored
Merge pull request #19 from Nullify-Platform/add-Type-to-distinguish-gitlab-DiffNote-and-DiscussionNote
add Type to distinguish gitlab DiffNote and DiscussionNote
2 parents db5a08d + 7ab63f4 commit 36a6881

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)