From d14a9532a1363b464d6d15fce86afc4983a8357e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 24 May 2018 15:30:28 +0200 Subject: Handle account name in client url More consistent with AP urls --- client/src/app/shared/account/account.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/shared') 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 { private restExtractor: RestExtractor ) {} - getAccount (id: number): Observable { + getAccount (id: number | string): Observable { return this.authHttp.get(AccountService.BASE_ACCOUNT_URL + id) .pipe( map(accountHash => new Account(accountHash)), -- cgit v1.2.3