Skip to content

Commit

Permalink
revert back to using recipes.results for displayRecipes
Browse files Browse the repository at this point in the history
  • Loading branch information
Asjas committed Feb 16, 2022
1 parent 7d784f8 commit 0e2cfc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/75 - CORS and Recipes/scripts-FINISHED.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function fetchAndDisplay(query) {
const recipes = await fetchRecipes(query);
console.log(recipes);
form.submit.disabled = false;
displayRecipes(recipes);
displayRecipes(recipes.results);
}

function displayRecipes(recipes) {
Expand Down

0 comments on commit 0e2cfc4

Please sign in to comment.