Skip to content
Snippets Groups Projects
Commit c93c761d authored by Rhys Arkins's avatar Rhys Arkins Committed by GitHub
Browse files

refactor: log addReviewers and add empty team reviewers (#988)

See if this helps #782
parent e5895aee
No related branches found
No related tags found
No related merge requests found
......@@ -454,6 +454,7 @@ async function addReviewers(issueNo, reviewers) {
},
body: {
reviewers,
team_reviewers: [],
},
}
);
......
......@@ -209,7 +209,7 @@ async function addAssigneesReviewers(config, pr) {
}
}
if (config.reviewers.length > 0) {
logger.debug({ reviewers: config.reviewers }, 'Adding reviewers');
logger.info({ reviewers: config.reviewers }, 'Adding reviewers');
try {
const reviewers = config.reviewers.map(
reviewer =>
......
......@@ -40,6 +40,7 @@ Array [
"someuser",
"someotheruser",
],
"team_reviewers": Array [],
},
"headers": Object {
"accept": "application/vnd.github.thor-preview+json",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment