Skip to content

Commit

Permalink
refactor project
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanbokvad committed Sep 28, 2023
1 parent 94f9056 commit 8d155f2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/branchprotection/BranchProtectionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ export class BranchProtectionService {
branch: 'main',
})
.then((response: any) => {
const data: any = response.json();
console.log(
'Branch protection is enabled, and reviewers needed are:',
response.data.required_approving_review_count
'Branch protection is enabled, and the numbers of reviewers are:',
data.required_approving_review_count
);
})
.catch((error: any) => {
Expand Down

0 comments on commit 8d155f2

Please sign in to comment.