Skip to content

Commit 67ec432

Browse files
committed
Fix JSONP support for lists
1 parent 5621ad2 commit 67ec432

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ routes.list = function(req, res, next) {
2626
}
2727

2828
for (var key in req.query) {
29-
props[key] = utils.toNative(req.query[key])
29+
if (key !== 'callback') props[key] = utils.toNative(req.query[key])
3030
}
3131

3232
if (_(props).isEmpty()) {

0 commit comments

Comments
 (0)