diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-03-17 21:02:47 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-03-17 21:02:47 +0100 |
commit | 5cfc9c74872fff63f3ddf81de0baebfd50e2fc72 (patch) | |
tree | 76e052c8eb8d0f0b8346512ec5aac5b6c4514bcb /app/controllers/api | |
parent | ac406a31b07e55c624938a6075b2bf40b5ce7001 (diff) |
Forgot to hook up API with the latest method
Diffstat (limited to 'app/controllers/api')
-rw-r--r-- | app/controllers/api/v1/accounts_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/accounts_controller.rb b/app/controllers/api/v1/accounts_controller.rb index 9c84e0a1b..51c948955 100644 --- a/app/controllers/api/v1/accounts_controller.rb +++ b/app/controllers/api/v1/accounts_controller.rb @@ -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? |