This commit is contained in:
syuilo 2018-05-29 01:50:01 +09:00
parent 668a0314f6
commit c25e9557b9

View file

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