diff options
author | Unknwon <u@gogs.io> | 2016-02-22 12:40:00 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-02-22 12:40:00 -0500 |
commit | 912f7b51e90b2e6c4ff01570f1413c736cfc4d04 (patch) | |
tree | 9f618018d3f35a090432b04dd7ad962460e4a41f /models/pull.go | |
parent | 90fab0be6bc5acce1faa4b97a85ddde5f37f31d9 (diff) | |
download | gitea-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.go | 2 |
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, |