From 97b9c846bba52201ddb043d21b3b85403b2239ac Mon Sep 17 00:00:00 2001 From: pPrecel Date: Sat, 18 Nov 2023 11:56:45 +0100 Subject: [PATCH] fix commit paging --- pkg/github/commit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/github/commit.go b/pkg/github/commit.go index 144f62c..f2abf34 100644 --- a/pkg/github/commit.go +++ b/pkg/github/commit.go @@ -148,7 +148,7 @@ func isRepositoryCommitAuthor(commit *go_github.RepositoryCommit, author string) type pageListFunc func(page int) (nextPage bool, err error) func listForPages(fn pageListFunc) error { - page := 0 + page := 1 nextPage := true for nextPage { var err error