From b72b8a8c012e5e5d7f93b533d6992c9c01506598 Mon Sep 17 00:00:00 2001 From: TaeeunKim Date: Mon, 16 Oct 2023 14:42:44 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20credentials=20true=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/hooks/queries/recipe/useInfiniteRecipeCommentQuery.ts | 1 + 1 file changed, 1 insertion(+) 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;