mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 21:33:08 +02:00
[API] Fix bug
This commit is contained in:
parent
29e5efb9bb
commit
1bb1a02593
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,8 @@ async function byNative(res, rej, me, query, offset, max) {
|
|||
}, {
|
||||
name: new RegExp(escapedQuery)
|
||||
}]
|
||||
}, {
|
||||
limit: max
|
||||
});
|
||||
|
||||
// Serialize
|
||||
|
|
Loading…
Reference in a new issue