diff options
Diffstat (limited to 'server/lib/job-queue')
-rw-r--r-- | server/lib/job-queue/handlers/activitypub-http-fetcher.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/job-queue/handlers/activitypub-http-fetcher.ts b/server/lib/job-queue/handlers/activitypub-http-fetcher.ts index 23d33c26f..4da645f07 100644 --- a/server/lib/job-queue/handlers/activitypub-http-fetcher.ts +++ b/server/lib/job-queue/handlers/activitypub-http-fetcher.ts | |||
@@ -33,7 +33,7 @@ async function processActivityPubHttpFetcher (job: Bull.Job) { | |||
33 | if (payload.accountId) account = await AccountModel.load(payload.accountId) | 33 | if (payload.accountId) account = await AccountModel.load(payload.accountId) |
34 | 34 | ||
35 | const fetcherType: { [ id in FetchType ]: (items: any[]) => Promise<any> } = { | 35 | const fetcherType: { [ id in FetchType ]: (items: any[]) => Promise<any> } = { |
36 | 'activity': items => processActivities(items, { outboxUrl: payload.uri }), | 36 | 'activity': items => processActivities(items, { outboxUrl: payload.uri, fromFetch: true }), |
37 | 'video-likes': items => createRates(items, video, 'like'), | 37 | 'video-likes': items => createRates(items, video, 'like'), |
38 | 'video-dislikes': items => createRates(items, video, 'dislike'), | 38 | 'video-dislikes': items => createRates(items, video, 'dislike'), |
39 | 'video-shares': items => addVideoShares(items, video), | 39 | 'video-shares': items => addVideoShares(items, video), |