diff options
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/account/account.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/account/account.service.ts b/client/src/app/shared/account/account.service.ts index 20e52d946..6b261cf53 100644 --- a/client/src/app/shared/account/account.service.ts +++ b/client/src/app/shared/account/account.service.ts | |||
@@ -18,7 +18,7 @@ export class AccountService { | |||
18 | private restExtractor: RestExtractor | 18 | private restExtractor: RestExtractor |
19 | ) {} | 19 | ) {} |
20 | 20 | ||
21 | getAccount (id: number): Observable<Account> { | 21 | getAccount (id: number | string): Observable<Account> { |
22 | return this.authHttp.get<ServerAccount>(AccountService.BASE_ACCOUNT_URL + id) | 22 | return this.authHttp.get<ServerAccount>(AccountService.BASE_ACCOUNT_URL + id) |
23 | .pipe( | 23 | .pipe( |
24 | map(accountHash => new Account(accountHash)), | 24 | map(accountHash => new Account(accountHash)), |