From bd41b7e535c297472dfed26a4d409d33c5f1daed Mon Sep 17 00:00:00 2001 From: James Bowes Date: Mon, 16 Aug 2021 07:53:49 -0300 Subject: [PATCH] Update Cursor comment to reference an existing method This comment probably became out of date over time, as things were moved and renamed. Update it to the current naming. --- github/github.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/github.go b/github/github.go index fe686857ad9..56b63d17a24 100644 --- a/github/github.go +++ b/github/github.go @@ -458,7 +458,7 @@ type Response struct { // calling the endpoint again. NextPageToken string - // For APIs that support cursor pagination, such as RepositoryService.ListRepositoryHookDeliveries, + // For APIs that support cursor pagination, such as RepositoriesService.ListHookDeliveries, // the following field will be populated to point to the next page. // Set ListCursorOptions.Cursor to this value when calling the endpoint again. Cursor string