Skip to content

Commit 0e2cfc4

Browse files
author
A-J Roos
committed
revert back to using recipes.results for displayRecipes
1 parent 7d784f8 commit 0e2cfc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/75 - CORS and Recipes/scripts-FINISHED.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ async function fetchAndDisplay(query) {
2323
const recipes = await fetchRecipes(query);
2424
console.log(recipes);
2525
form.submit.disabled = false;
26-
displayRecipes(recipes);
26+
displayRecipes(recipes.results);
2727
}
2828

2929
function displayRecipes(recipes) {

0 commit comments

Comments
 (0)