Fix call to inefficient delete_matched cache method in domain blocks (#28367)

This commit is contained in:
Claire 2023-12-19 11:27:37 +01:00 committed by GitHub
parent 90371a4fc4
commit d7875adad2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 104 additions and 57 deletions

View file

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