Skip to content

Commit 0bb5d48

Browse files
committed
Started to make User's Dashboard page.
1 parent 5eedbd9 commit 0bb5d48

File tree

4 files changed

+2731
-65
lines changed

4 files changed

+2731
-65
lines changed

scripts/recipe-book.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,9 @@ async function publishRecipe(userRecipeId, recipeDetails){
279279
const response = await fetch(apiURL, {
280280
method: 'POST',
281281
headers: headers,
282-
body: JSON.stringify({
283-
recipeDetails: recipeDetails
284-
}),
282+
// body: JSON.stringify({
283+
// recipeDetails: recipeDetails
284+
// }),
285285
});
286286
if (response.ok) {
287287
alert('Recipe published successfully!');

0 commit comments

Comments
 (0)