Skip to content

Commit 7685c2c

Browse files
committed
Fix bug in getById
1 parent a9103b9 commit 7685c2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/features.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ exports.upsert = function(req, res) {
2222

2323
exports.getById = function(req, res) {
2424
let query = {
25-
id: req.query.id.split(','),
25+
id: req.params.id.split(','),
2626
include: req.query.include
2727
};
2828

0 commit comments

Comments
 (0)