diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-21 08:59:46 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-21 08:59:46 +0200 |
commit | 8633ad22a7aed15414f485641d0cf72203e392ce (patch) | |
tree | 0b0dce30a2fd1fd483a67c6518840edcf272c48a | |
parent | 5b2ede7d5519bf7d99854c445a8a9a2c8c591bfb (diff) | |
download | PeerTube-8633ad22a7aed15414f485641d0cf72203e392ce.tar.gz PeerTube-8633ad22a7aed15414f485641d0cf72203e392ce.tar.zst PeerTube-8633ad22a7aed15414f485641d0cf72203e392ce.zip |
Fix AP element with deleted video federation
-rw-r--r-- | server/models/video/video-playlist-element.ts | 2 |
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 | ||