diff --git a/src/Pentest/PentestService.ts b/src/Pentest/PentestService.ts index ba31bd56..efbc9521 100644 --- a/src/Pentest/PentestService.ts +++ b/src/Pentest/PentestService.ts @@ -39,12 +39,26 @@ export class PentestService { // core.warning('Error getting column!'); // console.log('Error: ', error); // }); - await octokit.rest.projects .listForRepo({ owner: owner, repo: repo, }) + .then(async (response) => { + console.log('list for repo'); + console.log(response.data); + }) + .catch((error) => { + core.warning('Error getting project for repo!'); + console.log('Error: ', error); + }); + + await octokit.rest.projects + .listCards({ + owner: owner, + repo: repo, + column_id: 24, + }) .then(async (response) => { console.log('Got the cards'); const projectCards = response.data;