intelica-library-components 1.1.85 → 1.1.87
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.
|
@@ -462,7 +462,7 @@ const ErrorInterceptor = (req, next) => {
|
|
|
462
462
|
HeaderSettings["PageRoot"] = commonFeatureFlagService.GetPageRoot();
|
|
463
463
|
HeaderSettings["LanguageCode"] = getCookie("language") ?? "";
|
|
464
464
|
HeaderSettings["Environment"] = configService.environment?.environment ?? "";
|
|
465
|
-
HeaderSettings["Access"] = authenticationClientID == "" ? "" : getCookie(authenticationClientID) ?? "";
|
|
465
|
+
HeaderSettings["Access"] = authenticationClientID == "" ? "" : (getCookie(authenticationClientID) ?? "");
|
|
466
466
|
}
|
|
467
467
|
let _request = req.clone({ headers: new HttpHeaders(HeaderSettings) });
|
|
468
468
|
return next(_request).pipe(catchError(handleErrorResponse));
|
|
@@ -485,9 +485,9 @@ const ErrorInterceptor = (req, next) => {
|
|
|
485
485
|
window.location.href = window.location.origin;
|
|
486
486
|
}
|
|
487
487
|
else
|
|
488
|
-
sweetAlertService.messageBox(error.error.
|
|
488
|
+
sweetAlertService.messageBox(error.error.Message);
|
|
489
489
|
return throwError(() => {
|
|
490
|
-
error.error, error.message;
|
|
490
|
+
(error.error, error.message);
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
493
|
};
|