Pārlūkot izejas kodu

Forgot to hook up API with the latest method

master
Eugen Rochko pirms 7 gadiem
vecāks
revīzija
5cfc9c7487
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      app/controllers/api/v1/accounts_controller.rb

+ 1
- 1
app/controllers/api/v1/accounts_controller.rb Parādīt failu

@@ -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?



Notiek ielāde…
Atcelt
Saglabāt