From 753d5b953dc52be198d0e6dd967161b81c21d27b Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Fri, 6 Sep 2019 21:27:06 +0300 Subject: [PATCH] Fix prettier. --- server/notifications/outgoing.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/server/notifications/outgoing.js b/server/notifications/outgoing.js index 3ee268bbe..6a60e5448 100644 --- a/server/notifications/outgoing.js +++ b/server/notifications/outgoing.js @@ -124,7 +124,12 @@ Meteor.methods({ const url = integration.url; const response = postCatchError(url, options); - if (response && response.statusCode && response.statusCode >= 200 && response.statusCode < 300) { + if ( + response && + response.statusCode && + response.statusCode >= 200 && + response.statusCode < 300 + ) { if (is2way) { const cid = params.commentId; const tooSoon = Lock.has(cid); // if an activity happens to fast, notification shouldn't fire with the same id