refactor!: rename title field to name
This commit is contained in:
parent
5188527b94
commit
1b94dc1f40
88 changed files with 2142 additions and 2142 deletions
|
|
@ -183,7 +183,7 @@ impl TryFrom<PlaylistVideoRenderer> for crate::model::PlaylistVideo {
|
|||
fn try_from(video: PlaylistVideoRenderer) -> Result<Self, Self::Error> {
|
||||
Ok(Self {
|
||||
id: video.video_id,
|
||||
title: video.title,
|
||||
name: video.title,
|
||||
length: video.length_seconds,
|
||||
thumbnail: video.thumbnail.into(),
|
||||
channel: crate::model::ChannelId::try_from(video.channel)?,
|
||||
|
|
|
|||
Reference in a new issue