refactor: Let serde serialize Add Series and Add Movie enums instead of calling to_string up front

This commit is contained in:
2026-01-08 10:52:30 -07:00
parent b1a6db21f1
commit e94f78dc7b
13 changed files with 53 additions and 40 deletions
+2 -2
View File
@@ -384,12 +384,12 @@ mod tests {
title: String::new(),
root_folder_path: "/test".to_owned(),
quality_profile_id: 1,
minimum_availability: "released".to_owned(),
minimum_availability: MinimumAvailability::Released,
monitored: false,
tags: vec![1, 2],
tag_input_string: None,
add_options: AddMovieOptions {
monitor: "movieAndCollection".to_owned(),
monitor: MovieMonitor::MovieAndCollection,
search_for_movie: false,
},
};