From 0d7f0184daa3334969b0dc1894f6200a003f7468 Mon Sep 17 00:00:00 2001 From: xwzQmxx <1499273991@qq.com> Date: Thu, 22 Apr 2021 20:02:33 +0800 Subject: [PATCH] fix issue event milestone filed type error --- gitee/hook_event_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitee/hook_event_types.go b/gitee/hook_event_types.go index f6820cb..1fa3dc2 100644 --- a/gitee/hook_event_types.go +++ b/gitee/hook_event_types.go @@ -58,7 +58,7 @@ type IssueEvent struct { Title *string `json:"title,omitempty"` Description *string `json:"description,omitempty"` State *string `json:"state,omitempty"` - Milestone *MilestoneHook `json:"milestone,omitempty"` + Milestone *string `json:"milestone,omitempty"` URL *string `json:"url,omitempty"` Enterprise *EnterpriseHook `json:"enterprise,omitempty"` HookName *string `json:"hook_name,omitempty"` -- Gitee