]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Log typo
authorChocobozzz <me@florianbigard.com>
Tue, 2 Jul 2019 09:21:14 +0000 (11:21 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 3 Jul 2019 14:07:30 +0000 (16:07 +0200)
server/lib/activitypub/process/process-flag.ts

index 79ce6fb41e56e884cbdb5934a669dd3e25aa506e..0b39760893b106802fe40e05ba2cbf1f47a131ba 100644 (file)
@@ -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 })