diff options
Diffstat (limited to 'models/pull.go')
-rw-r--r-- | models/pull.go | 2 |
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 { |