From 524201c26de396cc7e05e2d527d64eab4df42240 Mon Sep 17 00:00:00 2001 From: rustmailer Date: Mon, 6 Jul 2026 09:46:29 +0800 Subject: [PATCH] docs(openapi): update attachment download param to content_hash #314 --- crates/server/src/rest/api/message.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/server/src/rest/api/message.rs b/crates/server/src/rest/api/message.rs index b717d99..e19aabc 100644 --- a/crates/server/src/rest/api/message.rs +++ b/crates/server/src/rest/api/message.rs @@ -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",