This commit is contained in:
parent
8f79f862b9
commit
afc2efee1b
|
@ -53,7 +53,9 @@ module.exports = (params) => new Promise(async (res, rej) => {
|
||||||
const sort = {
|
const sort = {
|
||||||
_id: -1
|
_id: -1
|
||||||
};
|
};
|
||||||
const query = {} as any;
|
const query = {
|
||||||
|
visibility: 'public'
|
||||||
|
} as any;
|
||||||
if (sinceId) {
|
if (sinceId) {
|
||||||
sort._id = 1;
|
sort._id = 1;
|
||||||
query._id = {
|
query._id = {
|
||||||
|
|
Loading…
Reference in New Issue