diff --git a/deltachat-jsonrpc/src/api/mod.rs b/deltachat-jsonrpc/src/api/mod.rs index 9a1a144a4..638e9b7c4 100644 --- a/deltachat-jsonrpc/src/api/mod.rs +++ b/deltachat-jsonrpc/src/api/mod.rs @@ -153,13 +153,13 @@ impl CommandApi { /// Checks if the context is already configured. async fn is_configured(&self, account_id: u32) -> Result { let ctx = self.get_context(account_id).await?; - Ok(ctx.is_configured().await?) + ctx.is_configured().await } // Get system info for an account. async fn get_info(&self, account_id: u32) -> Result> { let ctx = self.get_context(account_id).await?; - Ok(ctx.get_info().await?) + ctx.get_info().await } async fn set_config(&self, account_id: u32, key: String, value: Option) -> Result<()> {