diff options
author | Chocobozzz <me@florianbigard.com> | 2018-11-15 16:57:59 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-11-15 16:57:59 +0100 |
commit | 6385c0cb7f773f5212a96807468988e17dba1d6d (patch) | |
tree | aa4bd970d2bf39ca643792c2f430019813ed6538 /server/lib/job-queue/handlers/video-views.ts | |
parent | 030177d246834fdba89be9bbaeac497589b47102 (diff) | |
download | PeerTube-6385c0cb7f773f5212a96807468988e17dba1d6d.tar.gz PeerTube-6385c0cb7f773f5212a96807468988e17dba1d6d.tar.zst PeerTube-6385c0cb7f773f5212a96807468988e17dba1d6d.zip |
Fix embed video id parsing
Diffstat (limited to 'server/lib/job-queue/handlers/video-views.ts')
-rw-r--r-- | server/lib/job-queue/handlers/video-views.ts | 2 |
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 | } |