Skip to content

Commit

Permalink
adding a limit to the controller queries
Browse files Browse the repository at this point in the history
  • Loading branch information
chelm committed May 4, 2015
1 parent d5f552e commit 0ef5e52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controller/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ var Controller = function (Socrata, BaseController) {
res.send(err, 500)
} else {
// Get the item
req.query.limit = 10000000;
Socrata.getResource(data.host, req.params.id, req.params.item, req.query, function (error, geojson) {
if (error) {
res.send(error, 500)
Expand Down

0 comments on commit 0ef5e52

Please sign in to comment.