Map issue/PR labels to contribution kind #39

Merged
raucao merged 4 commits from feature/38-label_mappings into master 2019-05-08 14:42:06 +00:00
Showing only changes of commit e6730802f6 - Show all commits

View File

@@ -162,13 +162,13 @@ module.exports = async function(robot, kredits) {
if (evt === 'pull_request' && data.action === 'closed' && data.pull_request.merged) {
handleGitHubPullRequestClosed(data);
res.send(200);
res.sendStatus(200);
}
else if (evt === 'issues' && data.action === 'closed') {
handleGitHubIssueClosed(data);
res.send(200);
res.sendStatus(200);
} else {
res.send(200);
res.sendStatus(200);
}
});