From 661a28b6ac147ef1a307d27170b7a085e678fe41 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 26 Sep 2025 16:08:41 +0000 Subject: [PATCH] aspectratio typo --- src/videos.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/videos.rs b/src/videos.rs index 83d7d40..16bfb90 100644 --- a/src/videos.rs +++ b/src/videos.rs @@ -87,7 +87,7 @@ pub struct VideoItem { #[serde(skip_serializing_if = "Option::is_none")] pub preview: Option, #[serde(skip_serializing_if = "Option::is_none")] - pub aspectRation: Option, + pub aspectRatio: Option, } #[allow(dead_code)] impl VideoItem { @@ -116,7 +116,7 @@ impl VideoItem { formats: None, // Placeholder for formats embed: None, // Placeholder for embed information preview: None, - aspectRation: None, + aspectRatio: None, } } pub fn tags(mut self, tags: Vec) -> Self { @@ -168,7 +168,7 @@ impl VideoItem { } pub fn aspect_ratio(mut self, aspect_ratio: f32) -> Self { - self.aspectRation = Some(aspect_ratio); + self.aspectRatio = Some(aspect_ratio); self } }