Open Andrew213 opened 2 years ago
they return the unchanged length of comments
const commentsArr = await r.getSubmission(req.body.postId).expandReplies({ depth: 2, limit: 2 });
or
const commentsArr = await r.getSubmission(req.body.postId).comments.fetchMore({ amount: 2 });
I want to get only 2 comments with 2 replies
they return the unchanged length of comments
or
const commentsArr = await r.getSubmission(req.body.postId).comments.fetchMore({ amount: 2 });
I want to get only 2 comments with 2 replies