aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/activitypub
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-24 15:00:10 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:53 +0100
commitdf1966c9b48fd3cb3e0ec227bac97065d0122d78 (patch)
treef871765ae33f03c5ad803c34782294b7d6f97c7c /server/lib/activitypub
parent652b30564c41b6ad1a42568a5792cb58d00cd10d (diff)
downloadPeerTube-df1966c9b48fd3cb3e0ec227bac97065d0122d78.tar.gz
PeerTube-df1966c9b48fd3cb3e0ec227bac97065d0122d78.tar.zst
PeerTube-df1966c9b48fd3cb3e0ec227bac97065d0122d78.zip
Fix lint
Diffstat (limited to 'server/lib/activitypub')
-rw-r--r--server/lib/activitypub/send/misc.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/activitypub/send/misc.ts b/server/lib/activitypub/send/misc.ts
index fe137464e..444c1cbd6 100644
--- a/server/lib/activitypub/send/misc.ts
+++ b/server/lib/activitypub/send/misc.ts
@@ -29,7 +29,7 @@ async function forwardActivity (
29 29
30 if (uris.length === 0) { 30 if (uris.length === 0) {
31 logger.info('0 followers for %s, no forwarding.', toAccountFollowers.map(a => a.id).join(', ')) 31 logger.info('0 followers for %s, no forwarding.', toAccountFollowers.map(a => a.id).join(', '))
32 return 32 return undefined
33 } 33 }
34 34
35 logger.debug('Creating forwarding job.', { uris }) 35 logger.debug('Creating forwarding job.', { uris })
@@ -52,7 +52,7 @@ async function broadcastToFollowers (
52 const uris = await computeFollowerUris(toAccountFollowers, followersException) 52 const uris = await computeFollowerUris(toAccountFollowers, followersException)
53 if (uris.length === 0) { 53 if (uris.length === 0) {
54 logger.info('0 followers for %s, no broadcasting.', toAccountFollowers.map(a => a.id).join(', ')) 54 logger.info('0 followers for %s, no broadcasting.', toAccountFollowers.map(a => a.id).join(', '))
55 return 55 return undefined
56 } 56 }
57 57
58 logger.debug('Creating broadcast job.', { uris }) 58 logger.debug('Creating broadcast job.', { uris })