Fix AP element with deleted video federation

This commit is contained in:
Chocobozzz 2022-06-21 08:59:46 +02:00
parent 5b2ede7d55
commit 8633ad22a7
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -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
}