]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/update-host.ts
Don't send undefined with HTML input
[github/Chocobozzz/PeerTube.git] / scripts / update-host.ts
index bb54290a45c410a24c6bd3f1f7b0fe96d49dff34..1d17ce1521d38783071400d03e94df738d67db09 100755 (executable)
@@ -114,7 +114,7 @@ async function run () {
 
   const ids = await VideoModel.listLocalIds()
   for (const id of ids) {
-    const video = await VideoModel.loadAndPopulateAccountAndServerAndTags(id)
+    const video = await VideoModel.loadFull(id)
 
     console.log('Updating video ' + video.uuid)