diff options
-rw-r--r-- | index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js index 433c4f8..64d7b00 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,7 @@ var mastodon = require('mastodon'); var pg = require('pg'); -var query = `SELECT id +var query = `SELECT id, created_at FROM public_toots WHERE favourites_count > ( SELECT avg(favourites_count) |