Run linter.

This commit is contained in:
Spencer Ofwiti 2021-09-03 02:16:51 +03:00
parent abee04b58a
commit f88781bb7e

View File

@ -20,7 +20,10 @@ export class HttpConfigInterceptor implements HttpInterceptor {
* @returns The forwarded request. * @returns The forwarded request.
*/ */
intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>> { intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>> {
if (request.url.startsWith(environment.cicMetaUrl) || request.url.startsWith(environment.cicUssdUrl)) { if (
request.url.startsWith(environment.cicMetaUrl) ||
request.url.startsWith(environment.cicUssdUrl)
) {
const token: string = sessionStorage.getItem(btoa('CICADA_SESSION_TOKEN')); const token: string = sessionStorage.getItem(btoa('CICADA_SESSION_TOKEN'));
if (token) { if (token) {