Updated fetchPackage method to include authentication

This commit is contained in:
Netkas 2023-10-11 19:04:36 -04:00
parent 345a215a56
commit 21753364dc
No known key found for this signature in database
GPG key ID: 5DAF58535614062B

View file

@ -558,7 +558,7 @@
// First try to fetch a pre-built package from the repository // First try to fetch a pre-built package from the repository
$results = $this->repository_manager->getRepository($input->getRepository())->fetchPackage( $results = $this->repository_manager->getRepository($input->getRepository())->fetchPackage(
$input->getVendor(), $input->getPackage(), $input->getVersion(), $input->getVendor(), $input->getPackage(), $input->getVersion(), $authentication
); );
$package_path = $this->downloadFile($results->getUrl(), PathFinder::getCachePath()); $package_path = $this->downloadFile($results->getUrl(), PathFinder::getCachePath());