From 912f7b51e90b2e6c4ff01570f1413c736cfc4d04 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Mon, 22 Feb 2016 12:40:00 -0500 Subject: #1821 add actions for close and reopen issues --- models/pull.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/pull.go') diff --git a/models/pull.go b/models/pull.go index bf16d98f..47da2dd6 100644 --- a/models/pull.go +++ b/models/pull.go @@ -330,7 +330,7 @@ func NewPullRequest(repo *Repository, pull *Issue, labelIDs []int64, uuids []str ActUserID: pull.Poster.Id, ActUserName: pull.Poster.Name, ActEmail: pull.Poster.Email, - OpType: CREATE_PULL_REQUEST, + OpType: ACTION_CREATE_PULL_REQUEST, Content: fmt.Sprintf("%d|%s", pull.Index, pull.Name), RepoID: repo.ID, RepoUserName: repo.Owner.Name, -- cgit v1.2.3