diff --git a/deltachat-jsonrpc/src/api.rs b/deltachat-jsonrpc/src/api.rs index 7cafd4454..5d1a392ed 100644 --- a/deltachat-jsonrpc/src/api.rs +++ b/deltachat-jsonrpc/src/api.rs @@ -349,8 +349,8 @@ impl CommandApi { Ok(ctx.get_blobdir().to_str().map(|s| s.to_owned())) } - /// Copy file to blobdir. - async fn copy_to_blobdir(&self, account_id: u32, path: String) -> Result { + /// Copy file to blob dir. + async fn copy_to_blob_dir(&self, account_id: u32, path: String) -> Result { let ctx = self.get_context(account_id).await?; let file = Path::new(&path); Ok(BlobObject::create_and_deduplicate(&ctx, file, file)?.to_abs_path())