mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Forgot to hook up API with the latest method
This commit is contained in:
parent
ac406a31b0
commit
5cfc9c7487
@ -115,7 +115,7 @@ class Api::V1::AccountsController < ApiController
|
||||
end
|
||||
|
||||
def search
|
||||
@accounts = SearchService.new.call(params[:q], limit_param(DEFAULT_ACCOUNTS_LIMIT), params[:resolve] == 'true')
|
||||
@accounts = SearchService.new.call(params[:q], limit_param(DEFAULT_ACCOUNTS_LIMIT), params[:resolve] == 'true', current_account)
|
||||
|
||||
set_account_counters_maps(@accounts) unless @accounts.nil?
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user