Skip to content

Commit

Permalink
reduce to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
garrrikkotua committed Jul 23, 2024
1 parent aa10b17 commit e986416
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import BaseQuery from './baseQuery'
class PullRequestsQuery extends BaseQuery {
repo: Repo

constructor(repo: Repo, githubToken: string, perPage = 5) {
constructor(repo: Repo, githubToken: string, perPage = 1) {
const pullRequestsQuery = `{
repository(owner: "${repo.owner}", name: "${repo.name}") {
pullRequests(last: ${perPage}, \${beforeCursor}) {
Expand Down

0 comments on commit e986416

Please sign in to comment.