Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: url icon (#4097)
Nathan.fooo109ebaf989fd
diff --git a/frontend/rust-lib/flowy-server/src/af_cloud/impls/user/dto.rs b/frontend/rust-lib/flowy-server/src/af_cloud/impls/user/dto.rsindex 4b727e8427..a81a7d24ea 100644--- a/frontend/rust-lib/flowy-server/src/af_cloud/impls/user/dto.rs+++ b/frontend/rust-lib/flowy-server/src/af_cloud/impls/user/dto.rs@@ -41,9 +41,12 @@ pub fn user_profile_from_af_profile(.metadata.map(|m| {(- m.get(USER_METADATA_ICON_URL).map(|v| v.to_string()),- m.get(USER_METADATA_OPEN_AI_KEY).map(|v| v.to_string()),- m.get(USER_METADATA_STABILITY_AI_KEY).map(|v| v.to_string()),+ m.get(USER_METADATA_ICON_URL)+ .map(|v| v.as_str().map(|s| s.to_string()).unwrap_or_default()),+ m.get(USER_METADATA_OPEN_AI_KEY)+ .map(|v| v.as_str().map(|s| s.to_string()).unwrap_or_default()),+ m.get(USER_METADATA_STABILITY_AI_KEY)+ .map(|v| v.as_str().map(|s| s.to_string()).unwrap_or_default()),)}).unwrap_or_default()