diff --git a/src/pages/home/components/Form.js b/src/pages/home/components/Form.js
index 7dbeff357235c47631c7019e59f5b3b0da8763d6..56c9e6a0e2a3d4e8152acd9c7b8629d1e35c240f 100644
--- a/src/pages/home/components/Form.js
+++ b/src/pages/home/components/Form.js
@@ -15,7 +15,7 @@ function Form() {
event.preventDefault()
let base_url = "https://api.spoonacular.com/food/ingredients/search"
const params = new URLSearchParams({
- apiKey: "37299eda2bf644f7a90f8edb1736f7d6",
+ apiKey: "4ce04e457c8348cfaec8ee0c7100b2f8",
query: search,
number: 1
})
diff --git a/src/pages/recipe/Recipe.js b/src/pages/recipe/Recipe.js
index bc30aa32bb952cd21c9a8217c513308d7f4220e4..8d44b1014dccdacfd276a05bfbdc74ea7a560e1c 100644
--- a/src/pages/recipe/Recipe.js
+++ b/src/pages/recipe/Recipe.js
@@ -10,7 +10,7 @@ function Recipe() {
useEffect(() => {
const params = new URLSearchParams({
- apiKey: "37299eda2bf644f7a90f8edb1736f7d6",
+ apiKey: "4ce04e457c8348cfaec8ee0c7100b2f8",
includeNutrition: true
})
diff --git a/src/pages/results/Results.js b/src/pages/results/Results.js
index 540a603aa64f43f602a00cba087301ae3f94483c..cfe0a4ec9f2376f8be9a07d68d31351514f21a88 100644
--- a/src/pages/results/Results.js
+++ b/src/pages/results/Results.js
@@ -14,7 +14,7 @@ function Results() {
ingredientNames = ingredientNames.slice(0, -1); // remove the last comma
const params = new URLSearchParams({
- apiKey: "37299eda2bf644f7a90f8edb1736f7d6",
+ apiKey: "4ce04e457c8348cfaec8ee0c7100b2f8",
ingredients: ingredientNames
})