mirror of
https://github.com/hotomoe/hotomoe
synced 2024-11-29 07:18:13 +09:00
Fix bug
This commit is contained in:
parent
e78989c3d4
commit
ed79710c2b
@ -39,7 +39,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
|
|||||||
_id: -1
|
_id: -1
|
||||||
};
|
};
|
||||||
const query = {
|
const query = {
|
||||||
user_id: user._id
|
'metadata.user_id': user._id
|
||||||
} as any;
|
} as any;
|
||||||
if (sinceId) {
|
if (sinceId) {
|
||||||
sort._id = 1;
|
sort._id = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user