]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tools/peertube-upload.ts
Merge branch 'release/3.3.0' into develop
[github/Chocobozzz/PeerTube.git] / server / tools / peertube-upload.ts
index 597137e4c5c61d155a0078b96fd85eaa0ba4dd0a..01fb1fe8d5e3e76151f91ed62426d94a029d0eb6 100644 (file)
@@ -62,7 +62,7 @@ async function run (url: string, username: string, password: string) {
   }
 
   try {
-    await server.videosCommand.upload({ attributes })
+    await server.videos.upload({ attributes })
     console.log(`Video ${options.videoName} uploaded.`)
     process.exit(0)
   } catch (err) {