Skip to content

Commit

Permalink
chore: interceptor com refresh token
Browse files Browse the repository at this point in the history
  • Loading branch information
Raul Melo committed Jul 12, 2024
1 parent e71afdf commit d7b319b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import {
HttpRequest,
} from '@angular/common/http';
import { Injectable } from '@angular/core';
import { getDataStorage } from '@wizco/wizpro-tools';
import { Observable, of, throwError } from 'rxjs';
import { catchError, delay, switchMap } from 'rxjs/operators';
import { getDataStorage } from '../../utils/token.storage';

/**
* Interceptor responsável por adicionar o cabeçalho 'x-tenant' e o token de autorização nas requisições HTTP.
Expand Down

0 comments on commit d7b319b

Please sign in to comment.