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 --- client/src/app/videos/+video-edit/video-update.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/videos/+video-edit/video-update.component.ts') diff --git a/client/src/app/videos/+video-edit/video-update.component.ts b/client/src/app/videos/+video-edit/video-update.component.ts index 00c2ed3f1..339da1bf4 100644 --- a/client/src/app/videos/+video-edit/video-update.component.ts +++ b/client/src/app/videos/+video-edit/video-update.component.ts @@ -63,7 +63,7 @@ export class VideoUpdateComponent extends FormReactive implements OnInit { }), switchMap(video => { return this.videoChannelService - .listAccountVideoChannels(video.account.id) + .listAccountVideoChannels(video.account) .pipe( map(result => result.data), map(videoChannels => videoChannels.map(c => ({ id: c.id, label: c.displayName }))), -- cgit v1.2.3