summaryrefslogtreecommitdiffstats
path: root/models/pull.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/pull.go')
-rw-r--r--models/pull.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/pull.go b/models/pull.go
index ababe79dd4..07c58446da 100644
--- a/models/pull.go
+++ b/models/pull.go
@@ -197,6 +197,8 @@ func (pr *PullRequest) APIFormat() *api.PullRequest {
Base: apiBaseBranchInfo,
Head: apiHeadBranchInfo,
MergeBase: pr.MergeBase,
+ Created: &pr.Issue.Created,
+ Updated: &pr.Issue.Updated,
}
if pr.Status != PullRequestStatusChecking {