wt-front-shared 19.0.25 → 19.0.26

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.
@@ -15502,15 +15502,15 @@ class HeadersInterceptor {
15502
15502
  this.updateRequestData(request.urlWithParams, request.method, errResponse.error.error || errResponse.error.errorCode || errResponse.status, requestError, errResponse.error?.meta?.formId);
15503
15503
  const currentHost = this.getDomainByUrl(isPlatformBrowser(this.platformId) ? window.location.host : '');
15504
15504
  const requestDomain = this.getDomainByUrl(request.url);
15505
- if (errResponse.status !== 401) {
15506
- const notification = {
15507
- id: 5,
15508
- type: 'error',
15509
- text: 'Произошла ошибка выполнения запроса, проверьте правильность заполненных данных и повторите запрос.',
15510
- timeout: 10000
15511
- };
15512
- this.notificationsFacade.addNotifications(notification);
15513
- }
15505
+ /* if (errResponse.status !== 401) {
15506
+ const notification: NotificationModel = {
15507
+ id: 5,
15508
+ type: 'error',
15509
+ text: 'Произошла ошибка выполнения запроса, проверьте правильность заполненных данных и повторите запрос.',
15510
+ timeout: 10000
15511
+ };
15512
+ this.notificationsFacade.addNotifications(notification);
15513
+ }*/
15514
15514
  if (currentHost === requestDomain) {
15515
15515
  if (errResponse.status === 401) {
15516
15516
  return this.handle401Error(errResponse, userInfo, request, next);