mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Improve create import file job
Fix federation of .ogv videos
This commit is contained in:
@@ -27,6 +27,7 @@ async function run () {
|
||||
|
||||
const video = await VideoModel.loadByUUID(program['video'])
|
||||
if (!video) throw new Error('Video not found.')
|
||||
if (video.isOwned() === false) throw new Error('Cannot import files of a non owned video.')
|
||||
|
||||
const dataInput = {
|
||||
videoUUID: video.uuid,
|
||||
|
||||
Reference in New Issue
Block a user