diff options
| author | こぴなたみぽ <syuilotan@yahoo.co.jp> | 2017-11-01 10:22:40 +0900 |
|---|---|---|
| committer | こぴなたみぽ <syuilotan@yahoo.co.jp> | 2017-11-01 10:22:40 +0900 |
| commit | 60a7640eb1547dc61997ba5db1eb2c28bdec33a0 (patch) | |
| tree | 8c0cfd5167e06d81b74efa2bca1f9bb5ab5a8e09 /src/api/endpoints/posts.ts | |
| parent | v2777 (diff) | |
| download | sharkey-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.ts | 2 |
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) { |