refactor!: rename title field to name

This commit is contained in:
ThetaDev 2022-12-27 23:28:25 +01:00
parent 5188527b94
commit 1b94dc1f40
88 changed files with 2142 additions and 2142 deletions

View file

@ -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)?,