summaryrefslogtreecommitdiffstats
path: root/models/pull.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-02-22 12:40:00 -0500
committerUnknwon <u@gogs.io>2016-02-22 12:40:00 -0500
commit912f7b51e90b2e6c4ff01570f1413c736cfc4d04 (patch)
tree9f618018d3f35a090432b04dd7ad962460e4a41f /models/pull.go
parent90fab0be6bc5acce1faa4b97a85ddde5f37f31d9 (diff)
downloadgitea-912f7b51e90b2e6c4ff01570f1413c736cfc4d04.tar.gz
gitea-912f7b51e90b2e6c4ff01570f1413c736cfc4d04.zip
#1821 add actions for close and reopen issues
Diffstat (limited to 'models/pull.go')
-rw-r--r--models/pull.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/pull.go b/models/pull.go
index bf16d98fa7..47da2dd67e 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,