fixed pull_request typo. #131

Merged
tiger5226 merged 1 commit from notification_typo into master 2018-11-08 15:49:25 +01:00

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';