Merge pull request #131 from lbryio/notification_typo

fixed pull_request typo.
This commit is contained in:
Mark 2018-11-08 09:49:25 -05:00 committed by GitHub
commit 9095016894
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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