diff --git a/Food-Recipe/index.js b/Food-Recipe/index.js index b17c17f..7bcf6c2 100644 --- a/Food-Recipe/index.js +++ b/Food-Recipe/index.js @@ -117,7 +117,7 @@ async function fetchResponses(recipeName) { if (obj) { for (const key in obj) { if (obj.hasOwnProperty(key) && key !== "updated_at") { - result += `${key}: ${obj[key]}, `; + result += `${capitalize_firstLetter(key)}: ${obj[key]}, `; } } result = result.slice(0, -2).split(',').map(item => `
  • ${item}
  • `).join("");