Skip to content

Commit

Permalink
Added logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanbokvad committed Sep 8, 2023
1 parent 1505e4d commit 779b34b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Pentest/PentestService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

Expand Down

0 comments on commit 779b34b

Please sign in to comment.