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

This commit is contained in:
ThetaDev 2024-06-16 22:42:11 +02:00
parent b5dcdebeab
commit 3204de301a
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,