refactor: remove log
This commit is contained in:
parent
fd5a1cb14f
commit
48a74ecbf5
@ -92,13 +92,10 @@ export default abstract class ApiService {
|
||||
}
|
||||
|
||||
private makeHttpRequest<Type>(method: 'get' | 'post' | 'delete' | 'put', request: RequestData): Observable<Type> {
|
||||
|
||||
console.log(request);
|
||||
if (request.needAuth)
|
||||
return this.tokenRefreshService.getTokenRefreshing$().pipe(
|
||||
filter(isRefreshing => !isRefreshing),
|
||||
switchMap(() => {
|
||||
console.log("I'm here!");
|
||||
const token = localStorage.getItem(ApiService.tokenKey);
|
||||
|
||||
if (token) {
|
||||
|
Loading…
Reference in New Issue
Block a user