mirror of https://github.com/Chocobozzz/PeerTube
Fix AP element with deleted video federation
parent
5b2ede7d55
commit
8633ad22a7
|
@ -351,7 +351,7 @@ export class VideoPlaylistElementModel extends Model<Partial<AttributesOnly<Vide
|
|||
id: this.url,
|
||||
type: 'PlaylistElement',
|
||||
|
||||
url: this.Video.url,
|
||||
url: this.Video?.url || null,
|
||||
position: this.position
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue