aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-04 22:40:37 +0100
committerChocobozzz <me@florianbigard.com>2018-02-04 22:40:37 +0100
commit1d230c441970d7b7089dba5be5d9687700533d6c (patch)
treef06ac5d87561f015deaa81a5257cc15b31f77bb2
parentfa236ef067a6534cb9fd46819d8d457cc7379cba (diff)
downloadPeerTube-1d230c441970d7b7089dba5be5d9687700533d6c.tar.gz
PeerTube-1d230c441970d7b7089dba5be5d9687700533d6c.tar.zst
PeerTube-1d230c441970d7b7089dba5be5d9687700533d6c.zip
Fix announces when fetching the actor outbox
-rw-r--r--server/models/video/video.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts
index 4e572a16b..f1b3ac169 100644
--- a/server/models/video/video.ts
+++ b/server/models/video/video.ts
@@ -490,7 +490,7 @@ export class VideoModel extends Model<VideoModel> {
490 }, 490 },
491 include: [ 491 include: [
492 { 492 {
493 attributes: [ 'id' ], 493 attributes: [ 'id', 'url' ],
494 model: VideoShareModel.unscoped(), 494 model: VideoShareModel.unscoped(),
495 required: false, 495 required: false,
496 where: { 496 where: {