sahandghavidel/HTML-CSS-JavaScript-projects-for-beginners

Recipe Book App- view recipe link has a bug

vasanthgx opened this issue · 2 comments

The link 'VIEW RECIPE' has a bug. It leads to an Error.

image

clicking the view recipe links leads to the following errors.

image

image


The Error is due to the recipe object which has two source url keys

  • sourceUrl
  • spoonacularSourceUrl

image

Originally the recipe object was linked to sourceUrl key with the link to www.foodista.com/recipe/... as value. This seems to be not working and is showing up the error as shown above in the screen shot.

But when linked to the spoonacularSourceUr key , the links are rendering properly.

can I work on this .

can I work on this .

I have already fixed it. Waiting for my PR to be merged.