Removed hard limit on PotentialFriendshipTracker.get
the default is now set at: 10 DEFAULT_ACCOUNTS_LIMIT=40, we dont want 40
This commit is contained in:
parent
6ca001bc67
commit
606a6c7f12
|
@ -21,6 +21,6 @@ class Api::V1::SuggestionsController < Api::BaseController
|
|||
private
|
||||
|
||||
def set_accounts
|
||||
@accounts = PotentialFriendshipTracker.get(current_account.id, limit: limit_param(DEFAULT_ACCOUNTS_LIMIT))
|
||||
@accounts = PotentialFriendshipTracker.get(current_account.id)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue