debian-mirror-gitlab/app/finders/packages/composer/packages_finder.rb
2021-06-08 01:23:25 +05:30

16 lines
404 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(installable_only: true).composer.preload_composer
end
end
end
end