diff --git a/src/utils/articles.ts b/src/utils/articles.ts index 59b1ccc..17025cd 100644 --- a/src/utils/articles.ts +++ b/src/utils/articles.ts @@ -111,7 +111,7 @@ export const fetchArticleById = async ({ id: number; api_url: string; }): Promise
=> { - const response = await fetch(`${api_url}api/v2/news/${id}/`); + const response = await fetch(`${api_url}api/v2/news/${id}/?fields=locale`); const data = await response.json(); return data; };