summaryrefslogtreecommitdiff
path: root/src/api/endpoints/posts/trend.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/endpoints/posts/trend.ts')
-rw-r--r--src/api/endpoints/posts/trend.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/posts/trend.ts b/src/api/endpoints/posts/trend.ts
index 3277206d26..64a195dff1 100644
--- a/src/api/endpoints/posts/trend.ts
+++ b/src/api/endpoints/posts/trend.ts
@@ -48,7 +48,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
} as any;
if (reply != undefined) {
- query.reply_to_id = reply ? { $exists: true, $ne: null } : null;
+ query.reply_id = reply ? { $exists: true, $ne: null } : null;
}
if (repost != undefined) {