This commit is contained in:
syuilo 2017-11-08 16:52:06 +09:00
parent e78989c3d4
commit ed79710c2b

View file

@ -39,7 +39,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
_id: -1
};
const query = {
user_id: user._id
'metadata.user_id': user._id
} as any;
if (sinceId) {
sort._id = 1;