From 03da7651d53e65a5d6bc2a75f7732b5534182da2 Mon Sep 17 00:00:00 2001 From: NickHackman Date: Thu, 12 Dec 2024 16:15:49 -0500 Subject: [PATCH] fix: cursor -> prCursor Unused variable results in errors --- pkg/github/pull_request_reviews.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/github/pull_request_reviews.go b/pkg/github/pull_request_reviews.go index e56ad89..028e707 100644 --- a/pkg/github/pull_request_reviews.go +++ b/pkg/github/pull_request_reviews.go @@ -217,7 +217,7 @@ func GetAllPullRequestReviews(ctx context.Context, client models.Client, opts mo if !q.Search.PageInfo.HasNextPage { break } - variables["cursor"] = q.Search.PageInfo.EndCursor + variables["prCursor"] = q.Search.PageInfo.EndCursor } return pullRequestReviews, nil