修复错误警告

This commit is contained in:
xintaofei
2026-03-31 13:11:08 +08:00
parent 007b52c183
commit f2a53acc9d
8 changed files with 27 additions and 29 deletions

View File

@@ -50,6 +50,7 @@ pub async fn create_chat_channel_core(
Ok(ChatChannelInfo::from(model))
}
#[allow(clippy::too_many_arguments)]
pub async fn update_chat_channel_core(
db: &AppDatabase,
id: i32,
@@ -369,6 +370,7 @@ pub async fn create_chat_channel(
create_chat_channel_core(&db, name, channel_type, config_json, enabled, daily_report_enabled, daily_report_time).await
}
#[allow(clippy::too_many_arguments)]
#[cfg(feature = "tauri-runtime")]
#[tauri::command]
pub async fn update_chat_channel(