Skip to content
This repository was archived by the owner on Jun 6, 2026. It is now read-only.

Commit 7d440d4

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

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)