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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user