This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch release-v0.19
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v0.19 by this push:
new e3056e12f fix(bitbucket): fix wrong create_date in
pull_request_comments (#6402)
e3056e12f is described below
commit e3056e12f1552f5ac3969b9f32425759cc22a012
Author: Lynwee <[email protected]>
AuthorDate: Tue Nov 7 10:55:51 2023 +0800
fix(bitbucket): fix wrong create_date in pull_request_comments (#6402)
---
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: "",