]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/create-move-video-storage-job.ts
Add help to understand what is a view
[github/Chocobozzz/PeerTube.git] / scripts / create-move-video-storage-job.ts
index 7465c1ce0ec42b9a078eca7beeb805ac649b34ec..18629aa27dad54f94a963a7866657542f067220e 100644 (file)
@@ -78,7 +78,7 @@ async function run () {
     if (files.some(f => f.storage === VideoStorage.FILE_SYSTEM) || hls?.storage === VideoStorage.FILE_SYSTEM) {
       console.log('Processing video %s.', videoFull.name)
 
-      const success = await moveToExternalStorageState(videoFull, false, undefined)
+      const success = await moveToExternalStorageState({ video: videoFull, isNewVideo: false, transaction: undefined })
 
       if (!success) {
         console.error(