aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/activitypub/process/process-create.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/activitypub/process/process-create.ts')
-rw-r--r--server/lib/activitypub/process/process-create.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/process/process-create.ts b/server/lib/activitypub/process/process-create.ts
index 442cd5c0b..eff796c1d 100644
--- a/server/lib/activitypub/process/process-create.ts
+++ b/server/lib/activitypub/process/process-create.ts
@@ -79,7 +79,7 @@ async function processCreateVideo (
79 79
80async function createRates (actorUrls: string[], video: VideoModel, rate: VideoRateType) { 80async function createRates (actorUrls: string[], video: VideoModel, rate: VideoRateType) {
81 let rateCounts = 0 81 let rateCounts = 0
82 const tasks: Bluebird<any>[] = [] 82 const tasks: Bluebird<number>[] = []
83 83
84 for (const actorUrl of actorUrls) { 84 for (const actorUrl of actorUrls) {
85 const actor = await getOrCreateActorAndServerAndModel(actorUrl) 85 const actor = await getOrCreateActorAndServerAndModel(actorUrl)