summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-09-06 21:27:06 +0300
committerLauri Ojansivu <x@xet7.org>2019-09-06 21:27:06 +0300
commit753d5b953dc52be198d0e6dd967161b81c21d27b (patch)
tree73c2376a6bac1d526d1a6e15585b46369c9076bc /server
parentea26f706691fde08a397c69ca67309bda43046fa (diff)
downloadwekan-753d5b953dc52be198d0e6dd967161b81c21d27b.tar.gz
wekan-753d5b953dc52be198d0e6dd967161b81c21d27b.tar.bz2
wekan-753d5b953dc52be198d0e6dd967161b81c21d27b.zip
Fix prettier.
Diffstat (limited to 'server')
-rw-r--r--server/notifications/outgoing.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/server/notifications/outgoing.js b/server/notifications/outgoing.js
index 3ee268bb..6a60e544 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