Skip to content

Commit 342d28c

Browse files
committed
using the TRUE endpoints
1 parent d93f6c5 commit 342d28c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Downloader.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,15 +189,11 @@ public function getRecipes(array $operations): array
189189
$data['locks'][$package->getName()]['recipe']['version'] = $v;
190190

191191
if (null !== $recipeRef && isset($this->endpoints[$endpoint]['_links']['archived_recipes_template'])) {
192-
$url = strtr($this->endpoints[$endpoint]['_links']['archived_recipes_template'], [
192+
$urls[] = strtr($this->endpoints[$endpoint]['_links']['archived_recipes_template'], [
193193
'{package_dotted}' => str_replace('/', '.', $package->getName()),
194194
'{ref}' => $recipeRef,
195195
]);
196196

197-
// TODO: remove once symfony/recipes has full history
198-
$url = str_replace('symfony/recipes', 'weaverryan/recipes', $url);
199-
$urls[] = $url;
200-
201197
break;
202198
}
203199

0 commit comments

Comments
 (0)