Skip to content

Commit

Permalink
should fix issue with not syncing close issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Souvikns committed Mar 23, 2022
1 parent 94eaf50 commit 4662354
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,8 @@ const run = async () => {
const issues = await octokit.paginate('GET /repos/{owner}/{repo}/issues', {
owner,
repo,
per_page: 100
per_page: 100,
state: 'all',
}, response => response.data.map(issue => (0, util_1.getIssue)(issue)));
const { response, error } = await app.initialize(issues);
if (error)
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ export const run = async () => {
const issues = await octokit.paginate('GET /repos/{owner}/{repo}/issues', {
owner,
repo,
per_page: 100
per_page: 100,
state: 'all',
}, response => response.data.map(issue => getIssue(issue)));

const {response, error} = await app.initialize(issues);
Expand Down

0 comments on commit 4662354

Please sign in to comment.