diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-19 14:22:38 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-19 14:22:38 +0100 |
commit | 54b38063249c0c903f13491eaa84f502f4dffe79 (patch) | |
tree | 9c3fa451f336e423eefd13ee38f47519d263cd57 /server/lib/activitypub/send/send-create.ts | |
parent | 0405ab52dc0f445b88f8de76e30d6e6719196023 (diff) | |
download | PeerTube-54b38063249c0c903f13491eaa84f502f4dffe79.tar.gz PeerTube-54b38063249c0c903f13491eaa84f502f4dffe79.tar.zst PeerTube-54b38063249c0c903f13491eaa84f502f4dffe79.zip |
Fix lint
Diffstat (limited to 'server/lib/activitypub/send/send-create.ts')
-rw-r--r-- | server/lib/activitypub/send/send-create.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/send/send-create.ts b/server/lib/activitypub/send/send-create.ts index 249dd91dc..27b03c45f 100644 --- a/server/lib/activitypub/send/send-create.ts +++ b/server/lib/activitypub/send/send-create.ts | |||
@@ -17,7 +17,7 @@ import { | |||
17 | } from './misc' | 17 | } from './misc' |
18 | 18 | ||
19 | async function sendCreateVideo (video: VideoModel, t: Transaction) { | 19 | async function sendCreateVideo (video: VideoModel, t: Transaction) { |
20 | if (video.privacy === VideoPrivacy.PRIVATE) return | 20 | if (video.privacy === VideoPrivacy.PRIVATE) return undefined |
21 | 21 | ||
22 | const byActor = video.VideoChannel.Account.Actor | 22 | const byActor = video.VideoChannel.Account.Actor |
23 | const videoObject = video.toActivityPubObject() | 23 | const videoObject = video.toActivityPubObject() |