@infrab4a/connect-angular 4.3.7-beta.1 → 4.3.7-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -940,7 +940,7 @@ class AuthService {
|
|
|
940
940
|
})));
|
|
941
941
|
}
|
|
942
942
|
getUser() {
|
|
943
|
-
return this.getFireUser().pipe(tap((user) => console.log('connect - getUser', user?.uid)), map((user) => user?.uid), mergeMap((id) => (id ? from(this.userRepository.get({ id })).pipe(catchError(() => of(null))) : of(null))));
|
|
943
|
+
return this.getFireUser().pipe(tap((user) => console.log('connect - getUser', user?.uid)), map((user) => user?.uid), mergeMap((id) => (id ? from(this.userRepository.get({ id })).pipe(catchError(() => of(null))) : of(null))), tap((user) => console.log('connect - getUser after', user)));
|
|
944
944
|
}
|
|
945
945
|
getTokenId() {
|
|
946
946
|
return from(getIdToken(this.angularFireAuth.currentUser));
|