We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f80d3b commit ff41749Copy full SHA for ff41749
backend/plugins/github/tasks/pr_convertor.go
@@ -88,7 +88,6 @@ func ConvertPullRequests(taskCtx plugin.SubTaskContext) errors.Error {
88
OriginalStatus: pr.State,
89
Title: pr.Title,
90
Url: pr.Url,
91
- AuthorId: accountIdGen.Generate(data.Options.ConnectionId, pr.AuthorId),
92
AuthorName: pr.AuthorName,
93
Description: pr.Body,
94
CreatedDate: pr.GithubCreatedAt,
@@ -115,6 +114,9 @@ func ConvertPullRequests(taskCtx plugin.SubTaskContext) errors.Error {
115
114
} else {
116
domainPr.Status = code.CLOSED
117
}
+ if pr.AuthorId != 0 {
118
+ domainPr.AuthorId = accountIdGen.Generate(data.Options.ConnectionId, pr.AuthorId)
119
+ }
120
return []interface{}{
121
domainPr,
122
}, nil
0 commit comments