From cf117aaafc1e9ae1ab4c388fc5d2e5ba9349efee Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 3 Jan 2018 17:25:47 +0100 Subject: Add avatar in comments --- shared/models/videos/video-comment.model.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'shared/models') diff --git a/shared/models/videos/video-comment.model.ts b/shared/models/videos/video-comment.model.ts index d572927c2..7ac4024fb 100644 --- a/shared/models/videos/video-comment.model.ts +++ b/shared/models/videos/video-comment.model.ts @@ -1,3 +1,5 @@ +import { Account } from '../actors' + export interface VideoComment { id: number url: string @@ -8,10 +10,7 @@ export interface VideoComment { createdAt: Date | string updatedAt: Date | string totalReplies: number - account: { - name: string - host: string - } + account: Account } export interface VideoCommentThreadTree { -- cgit v1.2.3