Skip to content

Commit 070897f

Browse files
committed
Updated pagination params casing
1 parent 9868825 commit 070897f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/github/issues.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,8 +1107,8 @@ func GetIssueTimeline(getClient GetClientFn, t translations.TranslationHelperFun
11071107
}
11081108

11091109
opts := &github.ListOptions{
1110-
Page: pagination.page,
1111-
PerPage: pagination.perPage,
1110+
Page: pagination.Page,
1111+
PerPage: pagination.PerPage,
11121112
}
11131113

11141114
client, err := getClient(ctx)
@@ -1180,8 +1180,8 @@ func GetIssueEvents(getClient GetClientFn, t translations.TranslationHelperFunc)
11801180
}
11811181

11821182
opts := &github.ListOptions{
1183-
Page: pagination.page,
1184-
PerPage: pagination.perPage,
1183+
Page: pagination.Page,
1184+
PerPage: pagination.PerPage,
11851185
}
11861186

11871187
client, err := getClient(ctx)

0 commit comments

Comments
 (0)