diff options
Diffstat (limited to 'modules/migration/pullrequest.go')
-rw-r--r-- | modules/migration/pullrequest.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/migration/pullrequest.go b/modules/migration/pullrequest.go index bbf1fe7653..7a681940a7 100644 --- a/modules/migration/pullrequest.go +++ b/modules/migration/pullrequest.go @@ -61,3 +61,9 @@ type PullRequestBranch struct { func (p PullRequestBranch) RepoPath() string { return fmt.Sprintf("%s/%s", p.OwnerName, p.RepoName) } + +// GetExternalName ExternalUserMigrated interface +func (p *PullRequest) GetExternalName() string { return p.PosterName } + +// ExternalID ExternalUserMigrated interface +func (p *PullRequest) GetExternalID() int64 { return p.PosterID } |