2
0

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

This commit is contained in:
Claire
2023-12-18 17:14:43 +01:00
committed by GitHub
parent f4b9c2ba40
commit 7d9b209fe8
11 changed files with 96 additions and 50 deletions

View File

@@ -88,7 +88,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