Etwas-Builders / Twitter-Source-Bot

Ever wanted to know the source of a tweet? Just @whosaidthis_bot and I'll tell you where it came from
https://twittersourcebot.tech/
15 stars 1 forks source link

Fix datetime comparison for caching check #69

Closed bkataru closed 4 years ago

bkataru commented 4 years ago

Line permalink: https://github.com/Mozilla-Open-Lab-Etwas/Twitter-Source-Bot/blob/43ae9e9333e9d5a49efc9f55aebb1c502a00de4f/modules/tweet.js#L159

CryogenicPlanet commented 4 years ago

@lunaroyster Any ideas why this did not work? Like this if statement didn't work

bkataru commented 4 years ago

Was a comparison operator mistake. Used "<" instead of ">"