diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-15 15:18:54 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-06-15 15:18:54 +0200 |
commit | fd261a8de933779480d631891efd2ac289045f2f (patch) | |
tree | 620e4e3ba1b750098973dfe9976e6d9492134770 /server/lib | |
parent | c1466c52fb6b7193a5d242bab21f263d4e3ca6d7 (diff) | |
download | PeerTube-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.ts | 2 | ||||
-rw-r--r-- | server/lib/schedulers/remove-old-views-scheduler.ts | 2 |
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 @@ | |||
1 | import { Redis } from '../../redis' | 1 | import { Redis } from '../../redis' |
2 | import { logger } from '../../../helpers/logger' | 2 | import { logger } from '../../../helpers/logger' |
3 | import { VideoModel } from '../../../models/video/video' | 3 | import { VideoModel } from '../../../models/video/video' |
4 | import { VideoViewModel } from '../../../models/video/video-views' | 4 | import { VideoViewModel } from '../../../models/video/video-view' |
5 | import { isTestInstance } from '../../../helpers/core-utils' | 5 | import { isTestInstance } from '../../../helpers/core-utils' |
6 | import { federateVideoIfNeeded } from '../../activitypub/videos' | 6 | import { 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' | |||
2 | import { AbstractScheduler } from './abstract-scheduler' | 2 | import { AbstractScheduler } from './abstract-scheduler' |
3 | import { SCHEDULER_INTERVALS_MS } from '../../initializers/constants' | 3 | import { SCHEDULER_INTERVALS_MS } from '../../initializers/constants' |
4 | import { CONFIG } from '../../initializers/config' | 4 | import { CONFIG } from '../../initializers/config' |
5 | import { VideoViewModel } from '../../models/video/video-views' | 5 | import { VideoViewModel } from '../../models/video/video-view' |
6 | 6 | ||
7 | export class RemoveOldViewsScheduler extends AbstractScheduler { | 7 | export class RemoveOldViewsScheduler extends AbstractScheduler { |
8 | 8 | ||