Convert some ' to "
This commit is contained in:
@ -9,10 +9,10 @@ export class RequestInterceptor implements HttpInterceptor {
|
||||
}
|
||||
|
||||
intercept(req: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>> {
|
||||
const authToken = this.authService.getToken() || '';
|
||||
const authToken = this.authService.getToken() || "";
|
||||
|
||||
const newReq = req.clone({
|
||||
headers: req.headers.set('Authorization', `Bearer ${authToken}`),
|
||||
headers: req.headers.set("Authorization", `Bearer ${authToken}`),
|
||||
});
|
||||
|
||||
return next.handle(newReq);
|
||||
|
Reference in New Issue
Block a user