fixed pull_request typo.

This commit is contained in:
Mark Beamer Jr 2018-11-08 09:21:32 -05:00
parent 9ecc9b0fc2
commit 4bdb44abb5
No known key found for this signature in database
GPG key ID: 1C314FB89AD76973

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