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