diff options
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/activitypub/process/process-flag.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/process/process-flag.ts b/server/lib/activitypub/process/process-flag.ts index 79ce6fb41..0b3976089 100644 --- a/server/lib/activitypub/process/process-flag.ts +++ b/server/lib/activitypub/process/process-flag.ts | |||
@@ -27,7 +27,7 @@ async function processCreateVideoAbuse (activity: ActivityCreate | ActivityFlag, | |||
27 | logger.debug('Reporting remote abuse for video %s.', getAPId(flag.object)) | 27 | logger.debug('Reporting remote abuse for video %s.', getAPId(flag.object)) |
28 | 28 | ||
29 | const account = byActor.Account | 29 | const account = byActor.Account |
30 | if (!account) throw new Error('Cannot create dislike with the non account actor ' + byActor.url) | 30 | if (!account) throw new Error('Cannot create video abuse with the non account actor ' + byActor.url) |
31 | 31 | ||
32 | const { video } = await getOrCreateVideoAndAccountAndChannel({ videoObject: flag.object }) | 32 | const { video } = await getOrCreateVideoAndAccountAndChannel({ videoObject: flag.object }) |
33 | 33 | ||