diff options
Diffstat (limited to 'server/lib/job-queue/handlers/activitypub-cleaner.ts')
-rw-r--r-- | server/lib/job-queue/handlers/activitypub-cleaner.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/job-queue/handlers/activitypub-cleaner.ts b/server/lib/job-queue/handlers/activitypub-cleaner.ts index 509dd1cb5..07dd908cd 100644 --- a/server/lib/job-queue/handlers/activitypub-cleaner.ts +++ b/server/lib/job-queue/handlers/activitypub-cleaner.ts | |||
@@ -34,7 +34,7 @@ async function processActivityPubCleaner (_job: Job) { | |||
34 | if (result?.status === 'deleted') { | 34 | if (result?.status === 'deleted') { |
35 | const { videoId, type } = result.data | 35 | const { videoId, type } = result.data |
36 | 36 | ||
37 | await VideoModel.updateRatesOf(videoId, type, undefined) | 37 | await VideoModel.syncLocalRates(videoId, type, undefined) |
38 | } | 38 | } |
39 | }, { concurrency: AP_CLEANER.CONCURRENCY }) | 39 | }, { concurrency: AP_CLEANER.CONCURRENCY }) |
40 | } | 40 | } |