17 lines
380 B
Ruby
17 lines
380 B
Ruby
|
# frozen_string_literal: true
|
||
|
module Packages
|
||
|
module Composer
|
||
|
class PackagesFinder < Packages::GroupPackagesFinder
|
||
|
def initialize(current_user, group, params = {})
|
||
|
@current_user = current_user
|
||
|
@group = group
|
||
|
@params = params
|
||
|
end
|
||
|
|
||
|
def execute
|
||
|
packages_for_group_projects.composer.preload_composer
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|