From d89954ff0ba4bd51ee88a4691c7b377a1252f889 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 2 Jul 2019 11:21:14 +0200 Subject: Log typo --- server/lib/activitypub/process/process-flag.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/lib') 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, logger.debug('Reporting remote abuse for video %s.', getAPId(flag.object)) const account = byActor.Account - if (!account) throw new Error('Cannot create dislike with the non account actor ' + byActor.url) + if (!account) throw new Error('Cannot create video abuse with the non account actor ' + byActor.url) const { video } = await getOrCreateVideoAndAccountAndChannel({ videoObject: flag.object }) -- cgit v1.2.3