diff options
Diffstat (limited to 'src/api')
| -rw-r--r-- | src/api/endpoints/posts/trend.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/api/endpoints/posts/trend.ts b/src/api/endpoints/posts/trend.ts index 8a373636ad..3277206d26 100644 --- a/src/api/endpoints/posts/trend.ts +++ b/src/api/endpoints/posts/trend.ts @@ -41,6 +41,9 @@ module.exports = (params, user) => new Promise(async (res, rej) => { const query = { created_at: { $gte: new Date(Date.now() - ms('1days')) + }, + repost_count: { + $gt: 0 } } as any; |