diff options
author | Chocobozzz <me@florianbigard.com> | 2020-04-20 09:04:38 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-04-20 09:04:38 +0200 |
commit | 0dd57e4d43b06a70a45b77f2006f805f9a42116c (patch) | |
tree | 3710e623be565c6a8d4293fe6ed2c585968c53e8 /server/lib/job-queue/handlers | |
parent | 7a9f9c46261062fb7b718395a8f71c1b742764d4 (diff) | |
download | PeerTube-0dd57e4d43b06a70a45b77f2006f805f9a42116c.tar.gz PeerTube-0dd57e4d43b06a70a45b77f2006f805f9a42116c.tar.zst PeerTube-0dd57e4d43b06a70a45b77f2006f805f9a42116c.zip |
Fix tests
Diffstat (limited to 'server/lib/job-queue/handlers')
-rw-r--r-- | server/lib/job-queue/handlers/activitypub-follow.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/job-queue/handlers/activitypub-follow.ts b/server/lib/job-queue/handlers/activitypub-follow.ts index 94eeed4c0..e467c5b1b 100644 --- a/server/lib/job-queue/handlers/activitypub-follow.ts +++ b/server/lib/job-queue/handlers/activitypub-follow.ts | |||
@@ -36,7 +36,7 @@ async function processActivityPubFollow (job: Bull.Job) { | |||
36 | } | 36 | } |
37 | 37 | ||
38 | if (payload.assertIsChannel && !targetActor.VideoChannel) { | 38 | if (payload.assertIsChannel && !targetActor.VideoChannel) { |
39 | logger.warn('Do not follow %s@%s because it is not a channel.', name, host) | 39 | logger.warn('Do not follow %s@%s because it is not a channel.', payload.name, host) |
40 | return | 40 | return |
41 | } | 41 | } |
42 | 42 | ||