Fix call to inefficient delete_matched cache method in domain blocks (#28374)
This commit is contained in:
@@ -25,6 +25,6 @@ class Api::V1::Accounts::NotesController < Api::BaseController
|
||||
end
|
||||
|
||||
def relationships_presenter
|
||||
AccountRelationshipsPresenter.new([@account.id], current_user.account_id)
|
||||
AccountRelationshipsPresenter.new([@account], current_user.account_id)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user