mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
clippy
This commit is contained in:
committed by
link2xt
parent
0079cd4766
commit
4bf38c0e29
@@ -1325,14 +1325,13 @@ impl CommandApi {
|
||||
passphrase: Option<String>,
|
||||
) -> Result<()> {
|
||||
let ctx = self.get_context(account_id).await?;
|
||||
let result = imex::imex(
|
||||
imex::imex(
|
||||
&ctx,
|
||||
imex::ImexMode::ExportBackup,
|
||||
destination.as_ref(),
|
||||
passphrase,
|
||||
)
|
||||
.await;
|
||||
result
|
||||
.await
|
||||
}
|
||||
|
||||
async fn import_backup(
|
||||
|
||||
Reference in New Issue
Block a user