]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/activitypub/send/send-update.ts
Rename video full loading
[github/Chocobozzz/PeerTube.git] / server / lib / activitypub / send / send-update.ts
index 3577ece02c5710232bf352bab0ff10ec0842e722..24983dd199d8aad5f00d60e3be5cde10525e93d3 100644 (file)
@@ -92,7 +92,7 @@ async function sendUpdateCacheFile (byActor: MActorLight, redundancyModel: MVide
     return
   }
 
-  const video = await VideoModel.loadAndPopulateAccountAndServerAndTags(associatedVideo.id)
+  const video = await VideoModel.loadFull(associatedVideo.id)
 
   const activityBuilder = (audience: ActivityAudience) => {
     const redundancyObject = redundancyModel.toActivityPubObject()