Fix call to inefficient delete_matched
cache method in domain blocks (#28367)
This commit is contained in:
parent
90371a4fc4
commit
d7875adad2
11 changed files with 104 additions and 57 deletions
|
@ -86,7 +86,7 @@ class Api::V1::AccountsController < Api::BaseController
|
|||
end
|
||||
|
||||
def relationships(**options)
|
||||
AccountRelationshipsPresenter.new([@account.id], current_user.account_id, **options)
|
||||
AccountRelationshipsPresenter.new([@account], current_user.account_id, **options)
|
||||
end
|
||||
|
||||
def account_params
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue