refactor!: rename VideoItem/VideoPlayerDetails.length to duration for consistency

This commit is contained in:
ThetaDev 2024-06-16 22:42:11 +02:00
parent 401d4e8255
commit 94e8d24c68
No known key found for this signature in database
GPG key ID: E319D3C5148D65B6
45 changed files with 1352 additions and 1352 deletions

View file

@ -246,7 +246,7 @@ impl MapResponse<VideoPlayer> for response::Player {
id: video_details.video_id,
name: video_details.title,
description: video_details.short_description,
length: video_details.length_seconds,
duration: video_details.length_seconds,
thumbnail: video_details.thumbnail.into(),
channel: ChannelId {
id: video_details.channel_id,