mirror of
https://github.com/strapi/strapi.git
synced 2025-12-12 15:32:42 +00:00
Fix find function in content manager controller
This commit is contained in:
parent
a3da03a645
commit
10b1cc2ece
@ -21,9 +21,9 @@ module.exports = {
|
||||
|
||||
const entries = await User
|
||||
.find()
|
||||
.limit(limit)
|
||||
.limit(Number(limit))
|
||||
.sort(sort)
|
||||
.limit(skip);
|
||||
.skip(Number(skip));
|
||||
|
||||
ctx.body = entries;
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user