Commit 63be34c5 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '211495-remove-preloading-of-all-forks' into 'master'

Remove preloading of forks in projects API

See merge request gitlab-org/gitlab!62602
parents cabd9d5a 2a3be447
...@@ -136,7 +136,7 @@ module API ...@@ -136,7 +136,7 @@ module API
.preload(project_group_links: { group: :route }, .preload(project_group_links: { group: :route },
fork_network: :root_project, fork_network: :root_project,
fork_network_member: :forked_from_project, fork_network_member: :forked_from_project,
forked_from_project: [:route, :forks, :tags, :group, :project_feature, namespace: [:route, :owner]]) forked_from_project: [:route, :tags, :group, :project_feature, namespace: [:route, :owner]])
end end
# rubocop: enable CodeReuse/ActiveRecord # rubocop: enable CodeReuse/ActiveRecord
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment