Ver Fonte

Fix prettier.

Lauri Ojansivu há 5 anos atrás
pai
commit
753d5b953d
1 ficheiros alterados com 6 adições e 1 exclusões
  1. 6 1
      server/notifications/outgoing.js

+ 6 - 1
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