diff --git a/src/Pentest/PentestService.ts b/src/Pentest/PentestService.ts index 70dab8fb..8c5e9380 100644 --- a/src/Pentest/PentestService.ts +++ b/src/Pentest/PentestService.ts @@ -39,16 +39,16 @@ export class PentestService { // core.warning('Error getting column!'); // console.log('Error: ', error); // }); - octokit.rest.projects + await octokit.rest.projects .listForOrg({ - org: owner + org: owner, }) .then(async (response) => { - console.log('Got the cards'); + console.log('Got the projects for org'); console.log(response.data); }) .catch((error) => { - core.warning('Error getting cards!'); + core.warning('Error getting projects for org!'); console.log('Error: ', error); });