download handout

This commit is contained in:
2020-05-28 21:59:10 +02:00
parent 1878e4f0d9
commit 2023f2b561
7 changed files with 74 additions and 15 deletions

View File

@@ -32,7 +32,7 @@ export class UserService {
}
public getUserbyId(userId: string): Promise<User> {
return this.getUserbyId$('users/' + userId).pipe(first()).toPromise();
return this.getUserbyId$(userId).pipe(first()).toPromise();
}
public getUserbyId$(userId: string): Observable<User> {