This is an automated email from the ASF dual-hosted git repository.
lynwee pushed a commit to branch release-v1.0
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v1.0 by this push:
new 5bbd92be7 fix: 8522 gitlab mr notes are missing (#8256)
5bbd92be7 is described below
commit 5bbd92be7d640c546ca07aa65e24f30f40d61f00
Author: Klesh Wong <[email protected]>
AuthorDate: Fri Jan 3 15:55:25 2025 +0800
fix: 8522 gitlab mr notes are missing (#8256)
---
backend/plugins/gitlab/tasks/shared.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/backend/plugins/gitlab/tasks/shared.go
b/backend/plugins/gitlab/tasks/shared.go
index e8f8c650b..3c100d7dd 100644
--- a/backend/plugins/gitlab/tasks/shared.go
+++ b/backend/plugins/gitlab/tasks/shared.go
@@ -189,8 +189,8 @@ func GetMergeRequestsIterator(taskCtx
plugin.SubTaskContext, apiCollector *api.S
dal.From("_tool_gitlab_merge_requests gmr"),
// collect only openning merge request's notes and commits to
speed up the process
dal.Where(
- `gmr.project_id = ? and gmr.connection_id = ? AND state
= ?`,
- data.Options.ProjectId, data.Options.ConnectionId,
"opened",
+ `gmr.project_id = ? and gmr.connection_id = ?`,
+ data.Options.ProjectId, data.Options.ConnectionId,
),
}
if apiCollector != nil {