diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-02 11:21:14 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-07-03 16:07:30 +0200 |
commit | d89954ff0ba4bd51ee88a4691c7b377a1252f889 (patch) | |
tree | d150db23ebb32fb90f632905154347b1069b7b10 /server/lib/activitypub | |
parent | e6fdfdc29277b23c68b5df06e1f6e5b374313862 (diff) | |
download | PeerTube-d89954ff0ba4bd51ee88a4691c7b377a1252f889.tar.gz PeerTube-d89954ff0ba4bd51ee88a4691c7b377a1252f889.tar.zst PeerTube-d89954ff0ba4bd51ee88a4691c7b377a1252f889.zip |
Log typo
Diffstat (limited to 'server/lib/activitypub')
-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 | ||