Skip to content

Commit

Permalink
Update Downloader.php
Browse files Browse the repository at this point in the history
  • Loading branch information
salmen committed Apr 29, 2022
1 parent 130851b commit fae4e7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Downloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ public function getRecipes(array $operations): array
break;
}

if (isset($links['recipes_template_relative'])) {
$links['recipes_template'] = preg_replace('{[^/\?]*+(?=\?|$)}', $links['recipes_template_relative'], $endpoint, 1);
if (isset($links['recipe_template_relative'])) {
$links['recipe_template'] = preg_replace('{[^/\?]*+(?=\?|$)}', $links['recipe_template_relative'], $endpoint, 1);
}

$urls[] = strtr($links['recipe_template'], [
Expand Down

0 comments on commit fae4e7f

Please sign in to comment.