diff options
Diffstat (limited to 'lib/api/entities/group_detail.rb')
-rw-r--r-- | lib/api/entities/group_detail.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/entities/group_detail.rb b/lib/api/entities/group_detail.rb index 61f35d0f784..5eaccbc7154 100644 --- a/lib/api/entities/group_detail.rb +++ b/lib/api/entities/group_detail.rb @@ -16,7 +16,7 @@ module API options: { only_owned: true, limit: projects_limit } ).execute - Entities::Project.prepare_relation(projects) + Entities::Project.prepare_relation(projects, options) end expose :shared_projects, using: Entities::Project do |group, options| @@ -26,7 +26,7 @@ module API options: { only_shared: true, limit: projects_limit } ).execute - Entities::Project.prepare_relation(projects) + Entities::Project.prepare_relation(projects, options) end def projects_limit |