Skip to content
Snippets Groups Projects
Commit 5cfc9c74 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Forgot to hook up API with the latest method

parent ac406a31
No related branches found
No related tags found
No related merge requests found
......@@ -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?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment