mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 05:13:09 +02:00
Fix bug
This commit is contained in:
parent
e78989c3d4
commit
ed79710c2b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue