|
|
|
|
@ -180,11 +180,15 @@ func (c *CodeCommitDownloader) GetPullRequests(ctx context.Context, page, perPag
@@ -180,11 +180,15 @@ func (c *CodeCommitDownloader) GetPullRequests(ctx context.Context, page, perPag
|
|
|
|
|
continue |
|
|
|
|
} |
|
|
|
|
target := orig.PullRequestTargets[0] |
|
|
|
|
description := "" |
|
|
|
|
if orig.Description != nil { |
|
|
|
|
description = *orig.Description |
|
|
|
|
} |
|
|
|
|
pr := &base.PullRequest{ |
|
|
|
|
Number: number, |
|
|
|
|
Title: *orig.Title, |
|
|
|
|
PosterName: c.getUsernameFromARN(*orig.AuthorArn), |
|
|
|
|
Content: *orig.Description, |
|
|
|
|
Content: description, |
|
|
|
|
State: "open", |
|
|
|
|
Created: *orig.CreationDate, |
|
|
|
|
Updated: *orig.LastActivityDate, |
|
|
|
|
|