We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8b484e commit fe40a55Copy full SHA for fe40a55
.editorconfig
@@ -5,4 +5,3 @@ indent_style = space
5
indent_size = 2
6
end_of_line = lf
7
charset = utf-8
8
-trim_trailing_whitespace = true
src/controllers/v3/dragons.js
@@ -13,6 +13,7 @@ module.exports = {
13
.collection('dragon')
14
.find({})
15
.project(project(ctx.request.query))
16
+ .sort({ id: 1 })
17
.skip(offset(ctx.request.query))
18
.limit(limit(ctx.request.query))
19
.toArray();
0 commit comments