Skip to content

Commit

Permalink
Removed 200 limit of records if nil
Browse files Browse the repository at this point in the history
  • Loading branch information
maricavor committed Sep 16, 2022
1 parent f77883b commit fb2fe28
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 fb2fe28

Please sign in to comment.