From ad9e39fb815d85e5e718c40540fa75471474fa17 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 25 May 2018 09:57:16 +0200 Subject: Only use account name in routes --- .../account-video-channels/account-video-channels.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/+accounts') diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts b/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts index 0852c4bb7..a6e6dd656 100644 --- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts +++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.ts @@ -26,7 +26,7 @@ export class AccountVideoChannelsComponent implements OnInit { this.accountService.accountLoaded .pipe( tap(account => this.account = account), - flatMap(account => this.videoChannelService.listAccountVideoChannels(account.id)), + flatMap(account => this.videoChannelService.listAccountVideoChannels(account)), map(res => res.data) ) .subscribe(videoChannels => this.videoChannels = videoChannels) -- cgit v1.2.3