aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-06-15 15:18:54 +0200
committerChocobozzz <me@florianbigard.com>2020-06-15 15:18:54 +0200
commitfd261a8de933779480d631891efd2ac289045f2f (patch)
tree620e4e3ba1b750098973dfe9976e6d9492134770 /server/lib
parentc1466c52fb6b7193a5d242bab21f263d4e3ca6d7 (diff)
downloadPeerTube-fd261a8de933779480d631891efd2ac289045f2f.tar.gz
PeerTube-fd261a8de933779480d631891efd2ac289045f2f.tar.zst
PeerTube-fd261a8de933779480d631891efd2ac289045f2f.zip
Fix video view filename
Diffstat (limited to 'server/lib')
-rw-r--r--server/lib/job-queue/handlers/video-views.ts2
-rw-r--r--server/lib/schedulers/remove-old-views-scheduler.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/job-queue/handlers/video-views.ts b/server/lib/job-queue/handlers/video-views.ts
index 7211df237..897235ec0 100644
--- a/server/lib/job-queue/handlers/video-views.ts
+++ b/server/lib/job-queue/handlers/video-views.ts
@@ -1,7 +1,7 @@
1import { Redis } from '../../redis' 1import { Redis } from '../../redis'
2import { logger } from '../../../helpers/logger' 2import { logger } from '../../../helpers/logger'
3import { VideoModel } from '../../../models/video/video' 3import { VideoModel } from '../../../models/video/video'
4import { VideoViewModel } from '../../../models/video/video-views' 4import { VideoViewModel } from '../../../models/video/video-view'
5import { isTestInstance } from '../../../helpers/core-utils' 5import { isTestInstance } from '../../../helpers/core-utils'
6import { federateVideoIfNeeded } from '../../activitypub/videos' 6import { federateVideoIfNeeded } from '../../activitypub/videos'
7 7
diff --git a/server/lib/schedulers/remove-old-views-scheduler.ts b/server/lib/schedulers/remove-old-views-scheduler.ts
index 5ae87fe50..73577a421 100644
--- a/server/lib/schedulers/remove-old-views-scheduler.ts
+++ b/server/lib/schedulers/remove-old-views-scheduler.ts
@@ -2,7 +2,7 @@ import { logger } from '../../helpers/logger'
2import { AbstractScheduler } from './abstract-scheduler' 2import { AbstractScheduler } from './abstract-scheduler'
3import { SCHEDULER_INTERVALS_MS } from '../../initializers/constants' 3import { SCHEDULER_INTERVALS_MS } from '../../initializers/constants'
4import { CONFIG } from '../../initializers/config' 4import { CONFIG } from '../../initializers/config'
5import { VideoViewModel } from '../../models/video/video-views' 5import { VideoViewModel } from '../../models/video/video-view'
6 6
7export class RemoveOldViewsScheduler extends AbstractScheduler { 7export class RemoveOldViewsScheduler extends AbstractScheduler {
8 8