Skip to content

Commit 9931597

Browse files
committed
fix
1 parent 0e3ab04 commit 9931597

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

AngularCliCodeFlowPkce/src/app/app.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { OidcSecurityService } from 'angular-auth-oidc-client';
22
import { Component, OnInit } from '@angular/core';
3-
import { Observable, of } from 'rxjs';
3+
import { Observable } from 'rxjs';
44

55
@Component({
66
selector: 'app-root',
@@ -12,7 +12,7 @@ import { Observable, of } from 'rxjs';
1212
export class AppComponent implements OnInit {
1313

1414
title = '';
15-
userData$: Observable<any> = of({});
15+
userData$!: Observable<any>;
1616
isAuthenticated = false;
1717

1818
constructor(private oidcSecurityService: OidcSecurityService) {

AngularCliCodeFlowPkce/src/app/dataeventrecords/dataeventrecords.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Injectable } from '@angular/core';
22
import { HttpClient, HttpHeaders } from '@angular/common/http';
33

4-
import { Observable } from 'rxjs/Observable';
4+
import { Observable } from 'rxjs';
55
import { OidcSecurityService } from 'angular-auth-oidc-client';
66
import { DataEventRecord } from './models/DataEventRecord';
77

0 commit comments

Comments
 (0)