We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe40a55 commit 7d440d4Copy full SHA for 7d440d4
src/controllers/v2/capsules.js
@@ -12,6 +12,7 @@ module.exports = {
12
.collection('dragon')
13
.find({})
14
.project(project(ctx.request.query))
15
+ .sort({ id: 1 })
16
.limit(limit(ctx.request.query))
17
.toArray();
18
ctx.body = data;
0 commit comments