From 5ccb488b023cd1d0e93f1333f97c4f10d442dc9d Mon Sep 17 00:00:00 2001 From: Peter Jaszkowiak Date: Tue, 9 May 2017 11:45:09 -0600 Subject: [PATCH] Fix indents --- src/notifications.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/notifications.js b/src/notifications.js index a158a036fb..fef4a4a4d2 100644 --- a/src/notifications.js +++ b/src/notifications.js @@ -194,10 +194,10 @@ function pushToUids(uids, notification, callback) { plugins.fireHook('filter:notification.push', { notification: notification, uids: uids }, next); }, function (data, next) { - if (!data || !data.notification || !data.uids || !data.uids.length) { - return callback(); - } - + if (!data || !data.notification || !data.uids || !data.uids.length) { + return callback(); + } + uids = data.uids; notification = data.notification;