RLH-12 | Implement username changing
This commit is contained in:
@@ -11,7 +11,7 @@ export class AuthInterceptorService implements HttpInterceptor {
|
||||
|
||||
const tokenId = localStorage.getItem('tokenId');
|
||||
|
||||
if (!!tokenId) {
|
||||
if (tokenId) {
|
||||
const cloned = req.clone({
|
||||
headers: req.headers.set("Authorization",
|
||||
"Bearer " + tokenId)
|
||||
|
||||
Reference in New Issue
Block a user