forked from External/greenlight
GRN-59: Implemented pagination on the API call (#370)
* Added the env variable and functionality to paginate the call to the bbbapi * Update user.rb
This commit is contained in:
committed by
Jesus Federico
parent
ab6655554c
commit
3195bb4429
@ -89,5 +89,8 @@ module Greenlight
|
||||
|
||||
# Configure which settings are available to user on room creation/edit after creation
|
||||
config.room_features = ENV['ROOM_FEATURES'] || ""
|
||||
|
||||
# The maximum number of rooms included in one bbbapi call
|
||||
config.pagination_number = ENV['PAGINATION_NUMBER'].to_i == 0 ? 25 : ENV['PAGINATION_NUMBER'].to_i
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user