diff --git a/gitee/hook_noteevent_accessors.go b/gitee/hook_noteevent_accessors.go index 71d3408..0345d6b 100644 --- a/gitee/hook_noteevent_accessors.go +++ b/gitee/hook_noteevent_accessors.go @@ -198,6 +198,6 @@ func (ne *NoteEvent) GetPRHeadSha() string { return ne.GetPullRequest().GetHead().GetSha() } -func (ne *NoteEvent) GetPRLabelSets() sets.String { +func (ne *NoteEvent) GetPRLabelSet() sets.String { return ne.GetPullRequest().LabelsToSet() }