Skip to content

Commit

Permalink
Merge pull request #2440 from internetee/remove-max-limit-records
Browse files Browse the repository at this point in the history
Removed 200 limit of records if nil
  • Loading branch information
vohmar authored Sep 16, 2022
2 parents f77883b + fb2fe28 commit c796620
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/controllers/repp/v1/accounts_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def search_params
end

def limit
index_params[:limit] || 200
index_params[:limit]
end

def offset
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/repp/v1/contacts_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def hashify(sort)
end

def limit
index_params[:limit] || 200
index_params[:limit]
end

def offset
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/repp/v1/domains_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def domain_from_url_hash
end

def limit
index_params[:limit] || 200
index_params[:limit]
end

def offset
Expand Down

0 comments on commit c796620

Please sign in to comment.