1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Rename video full loading

This commit is contained in:
Chocobozzz 2022-06-28 14:57:51 +02:00
parent 4c8336af67
commit 4fae2b1f30
No known key found for this signature in database
GPG key ID: 583A612D890159BE
31 changed files with 48 additions and 48 deletions

View file

@ -17,7 +17,7 @@ async function processActivityPubHttpFetcher (job: Job) {
const payload = job.data as ActivitypubHttpFetcherPayload
let video: MVideoFullLight
if (payload.videoId) video = await VideoModel.loadAndPopulateAccountAndServerAndTags(payload.videoId)
if (payload.videoId) video = await VideoModel.loadFull(payload.videoId)
const fetcherType: { [ id in FetchType ]: (items: any[]) => Promise<any> } = {
'activity': items => processActivities(items, { outboxUrl: payload.uri, fromFetch: true }),