This commit is contained in:
syuilo 2018-10-31 17:56:21 +09:00
parent 57192e185e
commit 278ffa26c0

View File

@ -143,8 +143,7 @@ export default (params: any, me: ILocalUser) => new Promise(async (res, rej) =>
const query = { const query = {
deletedAt: null, deletedAt: null,
userId: user._id, userId: user._id
visibility: { $in: ['public', 'home'] }
} as any; } as any;
if (ps.sinceId) { if (ps.sinceId) {