RENAME: reply_to -> reply
This commit is contained in:
parent
d6a8e6b7c2
commit
60a7640eb1
25 changed files with 60 additions and 60 deletions
|
|
@ -40,7 +40,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
|
|||
|
||||
// Issue query
|
||||
const replies = await Post
|
||||
.find({ reply_to_id: post._id }, {
|
||||
.find({ reply_id: post._id }, {
|
||||
limit: limit,
|
||||
skip: offset,
|
||||
sort: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue