Skip to content

Commit 7d440d4

Browse files
committed
Fix order in v2 dragon endpoint
1 parent fe40a55 commit 7d440d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/controllers/v2/capsules.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ module.exports = {
1212
.collection('dragon')
1313
.find({})
1414
.project(project(ctx.request.query))
15+
.sort({ id: 1 })
1516
.limit(limit(ctx.request.query))
1617
.toArray();
1718
ctx.body = data;

0 commit comments

Comments
 (0)