fix: add more testsx
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { Injectable, inject } from 'injection-js';
|
||||
import { DOCUMENT } from '../../dom';
|
||||
import type { OpenIdConfiguration } from '../config/openid-configuration';
|
||||
import { DOCUMENT } from '../dom';
|
||||
import { LoggerService } from '../logging/logger.service';
|
||||
|
||||
@Injectable()
|
||||
|
||||
@@ -70,9 +70,8 @@ export class SilentRenewService {
|
||||
config: OpenIdConfiguration,
|
||||
allConfigs: OpenIdConfiguration[]
|
||||
): Observable<CallbackContext> {
|
||||
const params = new HttpParams({
|
||||
fromString: urlParts[1],
|
||||
});
|
||||
// TODO: fix @ngify/http
|
||||
const params = new HttpParams(urlParts[1] || undefined);
|
||||
|
||||
const errorParam = params.get('error');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user