Skip to content

Commit

Permalink
Change default oni limit
Browse files Browse the repository at this point in the history
  • Loading branch information
johnf committed Nov 8, 2024
1 parent 8abd8da commit 09461b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api/v1/oni_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Api
module V1
class OniController < ApplicationController
def objects
limit = (params[:limit] || 5_000).to_i # FIXME: Better way for all record
limit = (params[:limit] || 100).to_i
offset = (params[:offset] || 0).to_i
sortBy = params[:sortBy] || 'identifier'
memberOf = params[:memberOf]
Expand Down

0 comments on commit 09461b9

Please sign in to comment.