Fix prettier.

This commit is contained in:
Lauri Ojansivu 2019-09-06 21:27:06 +03:00
parent ea26f70669
commit 753d5b953d

View file

@ -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