This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 1059572e7 fix(bitbucket): fix wrong create_date in
pull_request_comments (#6390)
1059572e7 is described below
commit 1059572e73fccb2cc826ba27936fe29e83eae82c
Author: Lynwee <[email protected]>
AuthorDate: Fri Nov 3 10:08:35 2023 +0800
fix(bitbucket): fix wrong create_date in pull_request_comments (#6390)
---
backend/plugins/bitbucket/tasks/pr_comment_convertor.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/plugins/bitbucket/tasks/pr_comment_convertor.go
b/backend/plugins/bitbucket/tasks/pr_comment_convertor.go
index c42c7d6ed..da970375b 100644
--- a/backend/plugins/bitbucket/tasks/pr_comment_convertor.go
+++ b/backend/plugins/bitbucket/tasks/pr_comment_convertor.go
@@ -67,7 +67,7 @@ func ConvertPullRequestComments(taskCtx
plugin.SubTaskContext) errors.Error {
},
PullRequestId:
prIdGen.Generate(prComment.ConnectionId, prComment.RepoId,
prComment.PullRequestId),
AccountId:
accountIdGen.Generate(prComment.ConnectionId, prComment.AuthorId),
- CreatedDate: prComment.CreatedAt,
+ CreatedDate: prComment.BitbucketCreatedAt,
Body: prComment.Body,
Type: prComment.Type,
CommitSha: "",