docs(openapi): update attachment download param to content_hash #314

This commit is contained in:
rustmailer
2026-07-06 09:46:29 +08:00
parent ef954e255e
commit 524201c26d
+1 -1
View File
@@ -251,7 +251,7 @@ impl MessageApi {
Ok(restore_emails(account_id, payload.0.envelope_ids).await?)
}
/// Downloads a specific attachment from an email. Requires `name` query parameter.
/// Downloads a specific attachment from an email. Requires `content_hash` query parameter.
#[oai(
path = "/download-attachment/:account_id/:envelope_id",
method = "get",