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

zhangliang2022 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 71264199 fix: add gettotalpages in gitee/pr_commit_collector to fix 
issue2785 (#2821)
71264199 is described below

commit 71264199a14eedb0bfe785259592144fe1ddd139
Author: tsoc <[email protected]>
AuthorDate: Wed Aug 24 15:00:07 2022 +0800

    fix: add gettotalpages in gitee/pr_commit_collector to fix issue2785 (#2821)
---
 plugins/gitee/tasks/pr_commit_collector.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugins/gitee/tasks/pr_commit_collector.go 
b/plugins/gitee/tasks/pr_commit_collector.go
index 8ba15621..cd0f8a7e 100644
--- a/plugins/gitee/tasks/pr_commit_collector.go
+++ b/plugins/gitee/tasks/pr_commit_collector.go
@@ -83,6 +83,7 @@ func CollectApiPullRequestCommits(taskCtx 
core.SubTaskContext) error {
 
                        return query, nil
                },
+               GetTotalPages: GetTotalPagesFromResponse,
                ResponseParser: func(res *http.Response) ([]json.RawMessage, 
error) {
                        var items []json.RawMessage
                        err := helper.UnmarshalResponse(res, &items)

Reply via email to