Skip to content
Snippets Groups Projects
Commit 0fd4ad19 authored by Tifenn Guillas's avatar Tifenn Guillas
Browse files

WIP: Fix tests

parent 8fde9eec
No related branches found
No related tags found
2 merge requests!169Develop,!164Resolve "Fix SQ issues"
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from '@angular/common/http'; import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from '@angular/common/http';
import { Observable } from 'rxjs'; import { Observable } from 'rxjs';
import { AuthService } from './auth.service'; import { AuthService } from './auth.service';
import { environment } from '../../environments/environment'; import { environment } from '../../environments/environment';
@Injectable() @Injectable()
/**
* @class
* @classdesc Token interceptor.
*
* @implements HttpInterceptor
*/
export class TokenInterceptor implements HttpInterceptor { export class TokenInterceptor implements HttpInterceptor {
constructor(private authService: AuthService) { } constructor(private authService: AuthService) { }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment