mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 15:33:09 +02:00
✌️
This commit is contained in:
parent
8f79f862b9
commit
afc2efee1b
1 changed files with 3 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue