Skip to content

Commit cf259ea

Browse files
committed
fetchWithLanguageAndSubscription: use fetchWithErrors
1 parent 4e60421 commit cf259ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/util/fetchUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export const retryFetch = async (
104104
*/
105105

106106
export const fetchWithLanguageAndSubscription = (URL, config, lang) => {
107-
return fetch(addSubscriptionParam(addLocaleParam(URL, lang), config), {
107+
return fetchWithErrors(addSubscriptionParam(addLocaleParam(URL, lang), config), {
108108
headers: { 'Accept-Language': lang },
109109
});
110110
};

0 commit comments

Comments
 (0)