2
0

Use hash arguments to select when possible (Rails 7.2) (#32917)

This commit is contained in:
Matt Jankowski
2024-11-18 09:58:45 -05:00
committed by GitHub
parent 3e44dca0b4
commit 477412d62a
4 changed files with 10 additions and 10 deletions

View File

@@ -12,7 +12,7 @@ class Api::V1::Accounts::FamiliarFollowersController < Api::BaseController
private
def set_accounts
@accounts = Account.without_suspended.where(id: account_ids).select('id, hide_collections')
@accounts = Account.without_suspended.where(id: account_ids).select(:id, :hide_collections)
end
def familiar_followers