Skip to content

Commit 2ea89f2

Browse files
committed
chore: update per page
1 parent 568de4e commit 2ea89f2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13464,7 +13464,7 @@ class Github {
1346413464
constructor({ apiToken }) {
1346513465
this.githubRequest = Github.createGithubConnection(apiToken);
1346613466
}
13467-
async listAllEnvironments({ owner, repo, per_page = 2, page = 1, }) {
13467+
async listAllEnvironments({ owner, repo, per_page = 100, page = 1, }) {
1346813468
let envs = [];
1346913469
const { data } = await this.githubRequest.get(`/repos/${owner}/${repo}/environments`, {
1347013470
params: {

scr/services/github.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class Github {
1717
public async listAllEnvironments({
1818
owner,
1919
repo,
20-
per_page = 2,
20+
per_page = 100,
2121
page = 1,
2222
}: Pagination) {
2323
let envs: Environment[] = [];

0 commit comments

Comments
 (0)