aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/video-channel.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/video/video-channel.ts')
-rw-r--r--server/models/video/video-channel.ts10
1 files changed, 2 insertions, 8 deletions
diff --git a/server/models/video/video-channel.ts b/server/models/video/video-channel.ts
index 19dd681a7..2c38850d7 100644
--- a/server/models/video/video-channel.ts
+++ b/server/models/video/video-channel.ts
@@ -779,10 +779,7 @@ export class VideoChannelModel extends Model<Partial<AttributesOnly<VideoChannel
779 displayName: this.getDisplayName(), 779 displayName: this.getDisplayName(),
780 url: actor.url, 780 url: actor.url,
781 host: actor.host, 781 host: actor.host,
782 avatars: actor.avatars, 782 avatars: actor.avatars
783
784 // TODO: remove, deprecated in 4.2
785 avatar: actor.avatar
786 } 783 }
787 } 784 }
788 785
@@ -821,10 +818,7 @@ export class VideoChannelModel extends Model<Partial<AttributesOnly<VideoChannel
821 viewsPerDay, 818 viewsPerDay,
822 totalViews, 819 totalViews,
823 820
824 avatars: actor.avatars, 821 avatars: actor.avatars
825
826 // TODO: remove, deprecated in 4.2
827 avatar: actor.avatar
828 } 822 }
829 823
830 if (this.Account) videoChannel.ownerAccount = this.Account.toFormattedJSON() 824 if (this.Account) videoChannel.ownerAccount = this.Account.toFormattedJSON()