diff --git a/app/controllers/api/v2/users_controller.rb b/app/controllers/api/v2/users_controller.rb index 178c56161e..18fa084a0f 100644 --- a/app/controllers/api/v2/users_controller.rb +++ b/app/controllers/api/v2/users_controller.rb @@ -7,7 +7,7 @@ module Api skip_filter :require_admin, :only => :index def index - @users = UserSearchService.new(params).search.visible_by(User.current) + @users = UserSearchService.new(params).search respond_to do |format| format.api