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
@@ -517,13 +517,13 @@ mod tests {
root_folder_path: "/test".to_owned(),
quality_profile_id: 1,
language_profile_id: 1,
series_type: "anime".to_owned(),
series_type: SeriesType::Anime,
monitored: false,
tags: vec![1, 2],
tag_input_string: None,
season_folder: false,
add_options: AddSeriesOptions {
monitor: "future".to_owned(),
monitor: SeriesMonitor::Future,
search_for_cutoff_unmet_episodes: false,
search_for_missing_episodes: false,
},