There was an error while loading. Please reload this page.
2 parents 521f399 + c05d36e commit 3ee9fe5Copy full SHA for 3ee9fe5
projects/angular-auth-oidc-client/src/lib/callback/interval.service.ts
@@ -1,11 +1,12 @@
1
import { Injectable, NgZone, inject } from '@angular/core';
2
import { Observable, Subscription } from 'rxjs';
3
+import { DOCUMENT } from '@angular/common';
4
5
@Injectable({ providedIn: 'root' })
6
export class IntervalService {
7
private readonly zone = inject(NgZone);
8
- private readonly document = inject<Document>(Document);
9
+ private readonly document = inject(DOCUMENT);
10
11
runTokenValidationRunning: Subscription | null = null;
12
0 commit comments