refactor: optimize reference handling in profile and i18n modules

This commit is contained in:
Tunglies
2025-11-30 23:00:16 +08:00
parent 6897ead070
commit a1a9c2b7bb
3 changed files with 23 additions and 34 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ async fn should_update_profile(
"[订阅更新] {} 是远程订阅,URL: {}",
uid,
item.url
.clone()
.as_ref()
.ok_or_else(|| anyhow::anyhow!("Profile URL is None"))?
);
Ok(Some((