From 19a3b914f19812a082e2f47d31c66fb1d9771736 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 12 Mar 2018 11:29:46 +0100 Subject: Change video abuse API response --- shared/models/videos/video-abuse.model.ts | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'shared/models') diff --git a/shared/models/videos/video-abuse.model.ts b/shared/models/videos/video-abuse.model.ts index aaedd00d4..51070a7a3 100644 --- a/shared/models/videos/video-abuse.model.ts +++ b/shared/models/videos/video-abuse.model.ts @@ -1,10 +1,14 @@ +import { Account } from '../actors' + export interface VideoAbuse { id: number reason: string - reporterUsername: string - reporterServerHost: string - videoId: number - videoUUID: string - videoName: string + reporterAccount: Account + video: { + id: number + name: string + uuid: string + url: string + } createdAt: Date } -- cgit v1.2.3