Console log clear

master
Cristiano Pires 2 years ago
parent 2448c4488b
commit c1d5da26d0

@ -230,7 +230,7 @@ class _Client extends Client
}) })
if(!lastSentMessage) return sendMessage(res, feed, channel); if(!lastSentMessage) return sendMessage(res, feed, channel);
const lastSentMessagePublished = lastSentMessage.fields.filter(x=>x.name === 'PublishedTimeStamp')[0].value; const lastSentMessagePublished = lastSentMessage.fields.filter(x=>x.name === 'PublishedTimeStamp')[0].value;
console.log(lastSentMessagePublished != res.published , 'lastSentPublished',lastSentMessagePublished,'published', res.published) // console.log(lastSentMessagePublished != res.published , 'lastSentPublished',lastSentMessagePublished,'published', res.published)
if(!lastSentMessagePublished) sendMessage(res, feed, channel) if(!lastSentMessagePublished) sendMessage(res, feed, channel)
else if(lastSentMessagePublished != res.published) sendMessage(res, feed, channel); else if(lastSentMessagePublished != res.published) sendMessage(res, feed, channel);
})(feed); })(feed);

Loading…
Cancel
Save