This commit is contained in:
syuilo 2018-02-04 14:52:33 +09:00
parent 2cb0511dba
commit bcd65d290d
23 changed files with 48 additions and 43 deletions

View file

@ -35,10 +35,13 @@ module.exports = (params) => new Promise(async (res, rej) => {
{ deleted_at: { $gt: startTime } }
]
}, {
_id: false,
post_id: false
}, {
sort: { created_at: -1 }
sort: {
_id: -1
},
fields: {
_id: false,
post_id: false
}
});
const graph = [];