aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/schedulers/update-videos-scheduler.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/schedulers/update-videos-scheduler.ts')
-rw-r--r--server/lib/schedulers/update-videos-scheduler.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/schedulers/update-videos-scheduler.ts b/server/lib/schedulers/update-videos-scheduler.ts
index 80080a132..5b673b913 100644
--- a/server/lib/schedulers/update-videos-scheduler.ts
+++ b/server/lib/schedulers/update-videos-scheduler.ts
@@ -57,7 +57,7 @@ export class UpdateVideosScheduler extends AbstractScheduler {
57 }) 57 })
58 58
59 for (const v of publishedVideos) { 59 for (const v of publishedVideos) {
60 Notifier.Instance.notifyOnNewVideo(v) 60 Notifier.Instance.notifyOnNewVideoIfNeeded(v)
61 Notifier.Instance.notifyOnVideoPublishedAfterScheduledUpdate(v) 61 Notifier.Instance.notifyOnVideoPublishedAfterScheduledUpdate(v)
62 } 62 }
63 } 63 }