summaryrefslogtreecommitdiff
path: root/src/api/endpoints/posts.ts
diff options
context:
space:
mode:
authorこぴなたみぽ <syuilotan@yahoo.co.jp>2017-11-01 10:22:40 +0900
committerこぴなたみぽ <syuilotan@yahoo.co.jp>2017-11-01 10:22:40 +0900
commit60a7640eb1547dc61997ba5db1eb2c28bdec33a0 (patch)
tree8c0cfd5167e06d81b74efa2bca1f9bb5ab5a8e09 /src/api/endpoints/posts.ts
parentv2777 (diff)
downloadsharkey-60a7640eb1547dc61997ba5db1eb2c28bdec33a0.tar.gz
sharkey-60a7640eb1547dc61997ba5db1eb2c28bdec33a0.tar.bz2
sharkey-60a7640eb1547dc61997ba5db1eb2c28bdec33a0.zip
RENAME: reply_to -> reply
Diffstat (limited to 'src/api/endpoints/posts.ts')
-rw-r--r--src/api/endpoints/posts.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/posts.ts b/src/api/endpoints/posts.ts
index 23b9bd0b66..f6efcc108d 100644
--- a/src/api/endpoints/posts.ts
+++ b/src/api/endpoints/posts.ts
@@ -62,7 +62,7 @@ module.exports = (params) => new Promise(async (res, rej) => {
}
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) {