From 130226f235463f8663f56a4b1674c8a29ad1cae1 Mon Sep 17 00:00:00 2001 From: Shaked Hayek Date: Wed, 24 Apr 2024 23:14:36 +0300 Subject: [PATCH] location approve fix try --- src/services/news.data.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/news.data.service.ts b/src/services/news.data.service.ts index 4a985e28..67110199 100644 --- a/src/services/news.data.service.ts +++ b/src/services/news.data.service.ts @@ -71,7 +71,7 @@ export function updateNews(newsId: number, newLocationQualification: any, } const url = `${NEWS_FLASH_API}/${newsId}?${data.join('&')}`; axios - .patch(url) + .patch(url, {}, { withCredentials: true }) .then((res) => res.data) .catch(onErrorFetchNewsFlash) }