@djust-b2b/djust-front-sdk 1.21.10 → 1.21.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -137,11 +137,6 @@ const enhancedFetch = async ({ path, method, params = {}, body, }) => {
|
|
|
137
137
|
if (accessToken) {
|
|
138
138
|
requestHeaders.append("Authorization", `Bearer ${accessToken}`);
|
|
139
139
|
}
|
|
140
|
-
else {
|
|
141
|
-
Sentry.captureException(new Error("[Djust SDK] Access token is missing for a private route."), {
|
|
142
|
-
tags: { env: clientConfig.env, clientName: clientConfig.clientName },
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
140
|
}
|
|
146
141
|
if (locale)
|
|
147
142
|
requestHeaders.append("locale", locale);
|