diff options
Diffstat (limited to 'server/models')
-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 | ||