From 779b34b84ff5ed3505b1a122f4b5c490172a88a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Bokvad=20Engar=C3=A5s?= Date: Fri, 8 Sep 2023 10:52:04 +0200 Subject: [PATCH] Added logging --- src/Pentest/PentestService.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); });