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
chore: use inferred error instead (#5164)
Zack35ff74cf7c29
diff --git a/frontend/rust-lib/flowy-user/src/user_manager/manager.rs b/frontend/rust-lib/flowy-user/src/user_manager/manager.rsindex f6763400ac..574b3851cd 100644--- a/frontend/rust-lib/flowy-user/src/user_manager/manager.rs+++ b/frontend/rust-lib/flowy-user/src/user_manager/manager.rs@@ -665,10 +665,7 @@ impl UserManager {self.cloud_services.set_user_authenticator(authenticator);let auth_service = self.cloud_services.get_user_service()?;- let url = auth_service- .generate_sign_in_url_with_email(email)- .await- .map_err(|err| FlowyError::server_error().with_context(err))?;+ let url = auth_service.generate_sign_in_url_with_email(email).await?;Ok(url)}@@ -680,8 +677,8 @@ impl UserManager {let auth_service = self.cloud_services.get_user_service()?;auth_service.sign_in_with_magic_link(email, redirect_to)- .await- .map_err(|err| FlowyError::server_error().with_context(err))+ .await?;+ Ok(())}pub(crate) async fn generate_oauth_url(