aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-11-15 16:57:59 +0100
committerChocobozzz <me@florianbigard.com>2018-11-15 16:57:59 +0100
commit6385c0cb7f773f5212a96807468988e17dba1d6d (patch)
treeaa4bd970d2bf39ca643792c2f430019813ed6538 /server
parent030177d246834fdba89be9bbaeac497589b47102 (diff)
downloadPeerTube-6385c0cb7f773f5212a96807468988e17dba1d6d.tar.gz
PeerTube-6385c0cb7f773f5212a96807468988e17dba1d6d.tar.zst
PeerTube-6385c0cb7f773f5212a96807468988e17dba1d6d.zip
Fix embed video id parsing
Diffstat (limited to 'server')
-rw-r--r--server/lib/job-queue/handlers/video-views.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/job-queue/handlers/video-views.ts b/server/lib/job-queue/handlers/video-views.ts
index 2ceec2342..f44c3c727 100644
--- a/server/lib/job-queue/handlers/video-views.ts
+++ b/server/lib/job-queue/handlers/video-views.ts
@@ -39,7 +39,7 @@ async function processVideosViews () {
39 }) 39 })
40 40
41 const video = await VideoModel.loadAndPopulateAccountAndServerAndTags(videoId) 41 const video = await VideoModel.loadAndPopulateAccountAndServerAndTags(videoId)
42 await federateVideoIfNeeded(video, false) 42 if (video.isOwned()) await federateVideoIfNeeded(video, false)
43 } catch (err) { 43 } catch (err) {
44 logger.debug('Cannot create video views for video %d in hour %d. Maybe the video does not exist anymore?', videoId, hour) 44 logger.debug('Cannot create video views for video %d in hour %d. Maybe the video does not exist anymore?', videoId, hour)
45 } 45 }