diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/create-move-video-storage-job.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/create-move-video-storage-job.ts b/scripts/create-move-video-storage-job.ts index 7465c1ce0..18629aa27 100644 --- a/scripts/create-move-video-storage-job.ts +++ b/scripts/create-move-video-storage-job.ts | |||
@@ -78,7 +78,7 @@ async function run () { | |||
78 | if (files.some(f => f.storage === VideoStorage.FILE_SYSTEM) || hls?.storage === VideoStorage.FILE_SYSTEM) { | 78 | if (files.some(f => f.storage === VideoStorage.FILE_SYSTEM) || hls?.storage === VideoStorage.FILE_SYSTEM) { |
79 | console.log('Processing video %s.', videoFull.name) | 79 | console.log('Processing video %s.', videoFull.name) |
80 | 80 | ||
81 | const success = await moveToExternalStorageState(videoFull, false, undefined) | 81 | const success = await moveToExternalStorageState({ video: videoFull, isNewVideo: false, transaction: undefined }) |
82 | 82 | ||
83 | if (!success) { | 83 | if (!success) { |
84 | console.error( | 84 | console.error( |