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) {
let notification = JSON.parse(payload);
if (notification.branch === 'master') {
if (!notification.isPullRequest) {
if (!notification.pull_request) {
logToSlack('Auto Updating Lighthouse - ' + notification.message);
update();
ctx.body = 'OK';