style: format Rust code with cargo fmt

This commit is contained in:
Jason
2026-03-08 22:27:53 +08:00
parent 032a8203fd
commit 9092e97bc2
5 changed files with 47 additions and 27 deletions
+7 -6
View File
@@ -565,12 +565,13 @@ impl ProviderService {
// Only backfill when switching to a different provider
if let Ok(live_config) = read_live_settings(app_type.clone()) {
if let Some(mut current_provider) = providers.get(&current_id).cloned() {
current_provider.settings_config = strip_common_config_from_live_settings(
state.db.as_ref(),
&app_type,
&current_provider,
live_config,
);
current_provider.settings_config =
strip_common_config_from_live_settings(
state.db.as_ref(),
&app_type,
&current_provider,
live_config,
);
if let Err(e) =
state.db.save_provider(app_type.as_str(), &current_provider)
{