mirror of
https://github.com/strapi/strapi.git
synced 2025-12-12 23:44:08 +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
|
const entries = await User
|
||||||
.find()
|
.find()
|
||||||
.limit(limit)
|
.limit(Number(limit))
|
||||||
.sort(sort)
|
.sort(sort)
|
||||||
.limit(skip);
|
.skip(Number(skip));
|
||||||
|
|
||||||
ctx.body = entries;
|
ctx.body = entries;
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user