You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by wa...@apache.org on 2022/09/10 02:35:49 UTC

[incubator-devlake] 02/02: feat: new plugin for gitea

This is an automated email from the ASF dual-hosted git repository.

warren pushed a commit to branch feat-plugin-gitea
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit 3b6c19449a8e7646a31ee2d170df5c55252e5879
Author: tk103331 <tk...@gmail.com>
AuthorDate: Wed Sep 7 13:24:07 2022 +0800

    feat: new plugin for gitea
---
 plugins/gitea/tasks/issue_comment_convertor.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/gitea/tasks/issue_comment_convertor.go b/plugins/gitea/tasks/issue_comment_convertor.go
index 9ef26aed..cedbfef9 100644
--- a/plugins/gitea/tasks/issue_comment_convertor.go
+++ b/plugins/gitea/tasks/issue_comment_convertor.go
@@ -69,7 +69,7 @@ func ConvertIssueComments(taskCtx core.SubTaskContext) error {
 				},
 				IssueId:     issueIdGen.Generate(data.Options.ConnectionId, giteaIssueComment.IssueId),
 				Body:        giteaIssueComment.Body,
-				UserId:      accountIdGen.Generate(data.Options.ConnectionId, giteaIssueComment.AuthorId),
+				AccountId:   accountIdGen.Generate(data.Options.ConnectionId, giteaIssueComment.AuthorId),
 				CreatedDate: giteaIssueComment.GiteaCreatedAt,
 			}
 			return []interface{}{