fix shortened title not being used

This commit is contained in:
OMGeeky
2024-05-08 17:59:26 +02:00
parent 5ca067ea26
commit 6c234ff2f4

View File

@@ -84,7 +84,7 @@ pub(crate) fn create_youtube_title(
Location::Playlist => Some(YOUTUBE_TITLE_MAX_LENGTH),
Location::Other => None,
};
shorten_string_if_needed(&title, max_len);
let title = shorten_string_if_needed(&title, max_len);
Ok(title)
}