Skip to content

Commit

Permalink
Merge pull request #13 from SlicingDice/feature/remove-limit-check-da…
Browse files Browse the repository at this point in the history
…ta-extraction

Remove limit check on data extraction queries
  • Loading branch information
joaosimbiose authored Apr 7, 2017
2 parents 39fcfc7 + f862f71 commit e58ecc4
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ private boolean validKeys() {
if (!(this.data.get(key) instanceof Integer)) {
throw new InvalidQueryException("The key 'limit' in query has a invalid value.");
}
if (this.data.getInt(key) > 100) {
throw new InvalidQueryException("The field 'limit' has a value max of 100.");
}
} else if (key.equals("fields")) {
if (this.data.getJSONArray("fields").length() > 10) {
throw new MaxLimitException("The key 'fields' in data extraction result must" +
Expand Down

0 comments on commit e58ecc4

Please sign in to comment.