From b8b3abac6ac25ab4a8a2bf7e5016d6df173bae19 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Sun, 28 Jun 2020 22:45:25 +0200 Subject: fix change ownership typing --- shared/models/videos/video-change-ownership.model.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'shared/models/videos/video-change-ownership.model.ts') diff --git a/shared/models/videos/video-change-ownership.model.ts b/shared/models/videos/video-change-ownership.model.ts index 0d735c798..a9b1a17f3 100644 --- a/shared/models/videos/video-change-ownership.model.ts +++ b/shared/models/videos/video-change-ownership.model.ts @@ -1,16 +1,12 @@ import { Account } from '../actors' +import { Video } from './video.model' export interface VideoChangeOwnership { id: number status: VideoChangeOwnershipStatus initiatorAccount: Account nextOwnerAccount: Account - video: { - id: number - name: string - uuid: string - url: string - } + video: Video createdAt: Date } -- cgit v1.2.3