diff options
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r-- | server/models/video/video.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index cd3245ee4..ac8c81ddf 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -1061,7 +1061,7 @@ export class VideoModel extends Model<VideoModel> { | |||
1061 | 1061 | ||
1062 | if (instance.isOwned()) { | 1062 | if (instance.isOwned()) { |
1063 | if (!Array.isArray(instance.VideoFiles)) { | 1063 | if (!Array.isArray(instance.VideoFiles)) { |
1064 | instance.VideoFiles = await instance.$get('VideoFiles') as VideoFileModel[] | 1064 | instance.VideoFiles = await instance.$get('VideoFiles') |
1065 | } | 1065 | } |
1066 | 1066 | ||
1067 | // Remove physical files and torrents | 1067 | // Remove physical files and torrents |