fix(profile): propagate subscription update failures

This commit is contained in:
Tunglies
2026-08-26 00:24:28 +08:00
parent 695fadf21e
commit 4c1df582ba
3 changed files with 33 additions and 50 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ pub async fn create_profile(item: PrfItem, file_data: Option<String>) -> CmdResu
#[tauri::command]
pub async fn update_profile(index: String, option: Option<PrfOption>) -> CmdResult {
match feat::update_profile(&index, option.as_ref(), true, true, true).await {
match feat::update_profile(&index, option.as_ref(), true).await {
Ok(_) => Ok(()),
Err(e) => {
logging!(error, Type::Cmd, "{}", e);