diff options
Diffstat (limited to 'modules/migration/issue.go')
-rw-r--r-- | modules/migration/issue.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/migration/issue.go b/modules/migration/issue.go index 19781ad984..984f07d8c9 100644 --- a/modules/migration/issue.go +++ b/modules/migration/issue.go @@ -46,3 +46,9 @@ type Issue struct { Assignees []string `json:"assignees"` Context IssueContext `yaml:"-"` } + +// GetExternalName ExternalUserMigrated interface +func (i *Issue) GetExternalName() string { return i.PosterName } + +// GetExternalID ExternalUserMigrated interface +func (i *Issue) GetExternalID() int64 { return i.PosterID } |