Skip to content

Commit

Permalink
Was limiting results from getAll calls for some reason
Browse files Browse the repository at this point in the history
  • Loading branch information
dethe committed Feb 27, 2018
1 parent a1df875 commit ad8e492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controllers/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ router.get("/getAllForType", async function getAllForType(req, res) {
let objType = req.query.objType.toLowerCase();
let page = Math.max(parseInt(req.query.page || 1), 1);
let offset = 0;
let response_limit = RESPONSE_LIMIT;
let response_limit = Number.MAX_SAFE_INTEGER;
if (
req.query.response_limit &&
req.query.response_limit.toLowerCase() === "none"
Expand Down

0 comments on commit ad8e492

Please sign in to comment.