aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-06-21 08:59:46 +0200
committerChocobozzz <me@florianbigard.com>2022-06-21 08:59:46 +0200
commit8633ad22a7aed15414f485641d0cf72203e392ce (patch)
tree0b0dce30a2fd1fd483a67c6518840edcf272c48a /server
parent5b2ede7d5519bf7d99854c445a8a9a2c8c591bfb (diff)
downloadPeerTube-8633ad22a7aed15414f485641d0cf72203e392ce.tar.gz
PeerTube-8633ad22a7aed15414f485641d0cf72203e392ce.tar.zst
PeerTube-8633ad22a7aed15414f485641d0cf72203e392ce.zip
Fix AP element with deleted video federation
Diffstat (limited to 'server')
-rw-r--r--server/models/video/video-playlist-element.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video-playlist-element.ts b/server/models/video/video-playlist-element.ts
index 4e4160818..b45f15bd6 100644
--- a/server/models/video/video-playlist-element.ts
+++ b/server/models/video/video-playlist-element.ts
@@ -351,7 +351,7 @@ export class VideoPlaylistElementModel extends Model<Partial<AttributesOnly<Vide
351 id: this.url, 351 id: this.url,
352 type: 'PlaylistElement', 352 type: 'PlaylistElement',
353 353
354 url: this.Video.url, 354 url: this.Video?.url || null,
355 position: this.position 355 position: this.position
356 } 356 }
357 357