Skip to content

Commit

Permalink
location approve fix try
Browse files Browse the repository at this point in the history
  • Loading branch information
shaked-hayek committed Apr 24, 2024
1 parent 9da568d commit 130226f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/news.data.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 130226f

Please sign in to comment.