Add channel weight #140

Closed
tiger5226 wants to merge 4 commits from add_channel_weight into master
Showing only changes of commit 8801cfd213 - Show all commits

View file

@ -448,7 +448,7 @@ class LighthouseControllers {
if (status) { if (status) {
let notification = JSON.parse(payload); let notification = JSON.parse(payload);
if (notification.branch === 'master') { if (notification.branch === 'master') {
if (!notification.isPullRequest) { if (!notification.pull_request) {
logToSlack('Auto Updating Lighthouse - ' + notification.message); logToSlack('Auto Updating Lighthouse - ' + notification.message);
update(); update();
ctx.body = 'OK'; ctx.body = 'OK';