#1821 add actions for close and reopen issues

This commit is contained in:
Unknwon 2016-02-22 12:40:00 -05:00
parent 90fab0be6b
commit 912f7b51e9
12 changed files with 68 additions and 46 deletions

View file

@ -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,