Skip to content

Commit

Permalink
Merge pull request #1918 from timdeschryver/fix-inject-document
Browse files Browse the repository at this point in the history
fix: inject DOCUMENT
  • Loading branch information
FabianGosebrink committed Mar 24, 2024
2 parents 521f399 + c05d36e commit 3ee9fe5
Showing 1 changed file with 2 additions and 1 deletion.
@@ -1,11 +1,12 @@
import { Injectable, NgZone, inject } from '@angular/core';
import { Observable, Subscription } from 'rxjs';
import { DOCUMENT } from '@angular/common';

@Injectable({ providedIn: 'root' })
export class IntervalService {
private readonly zone = inject(NgZone);

private readonly document = inject<Document>(Document);
private readonly document = inject(DOCUMENT);

runTokenValidationRunning: Subscription | null = null;

Expand Down

0 comments on commit 3ee9fe5

Please sign in to comment.