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

Fix embed video id parsing

This commit is contained in:
Chocobozzz 2018-11-15 16:57:59 +01:00
parent 030177d246
commit 6385c0cb7f
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 3 additions and 4 deletions

View file

@ -39,7 +39,7 @@ async function processVideosViews () {
})
const video = await VideoModel.loadAndPopulateAccountAndServerAndTags(videoId)
await federateVideoIfNeeded(video, false)
if (video.isOwned()) await federateVideoIfNeeded(video, false)
} catch (err) {
logger.debug('Cannot create video views for video %d in hour %d. Maybe the video does not exist anymore?', videoId, hour)
}