diff --git a/frontend/src/hooks/queries/recipe/useInfiniteRecipeCommentQuery.ts b/frontend/src/hooks/queries/recipe/useInfiniteRecipeCommentQuery.ts index c5514f3f1..ec251f9b5 100644 --- a/frontend/src/hooks/queries/recipe/useInfiniteRecipeCommentQuery.ts +++ b/frontend/src/hooks/queries/recipe/useInfiniteRecipeCommentQuery.ts @@ -15,6 +15,7 @@ const fetchRecipeComments = async (pageParam: PageParam, recipeId: number) => { const response = await recipeApi.get({ params: `/${recipeId}/comments`, queries: queries, + credentials: true, }); const data: CommentResponse = await response.json(); return data;