mirror of
https://github.com/kevin-DL/scraps.git
synced 2026-01-23 23:01:22 +00:00
change spoonacular request
This commit is contained in:
@@ -38,7 +38,7 @@ class FindRecipesByIngredients extends Request implements Cacheable
|
|||||||
public function defaultQuery(): array
|
public function defaultQuery(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'ingredients' => join(",", $this->ingredients),
|
'ingredients' => join(",+", $this->ingredients),
|
||||||
'ranking' => $this->ranking,
|
'ranking' => $this->ranking,
|
||||||
'number' => $this->number,
|
'number' => $this->number,
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user