v0.1.0
RustBox CI / rustbox (push) Canceled after 0s

This commit is contained in:
Mateusz Gruszczyński committed 2026-10-30 17:22:17 +01:00
1 parent 0421994fe6
commit 425ea7449b
138 files changed
+5705 -1012

No files matched your search

+3 -3
View File
@@ -853,7 +853,7 @@ pub async fn update_flags(
let current_flags_csv: String = conn
.query_row(
"SELECT flags FROM messages WHERE folder = ?1 AND uid = ?2",
crate::queries::sqlite::queries::routes_messages_mod::Q_001,
rusqlite::params![&folder, uid],
|row| row.get(0),
)
@@ -1196,7 +1196,7 @@ pub async fn download_eml_source(
.await
.map_err(|e| AppError::ServiceUnavailable(format!("IMAP error: {e}")))?;
let filename = format!("message-{uid}.eml");
Ok(Response::builder()
Response::builder()
.header("content-type", "message/rfc822")
.header(
"content-disposition",
@@ -1204,7 +1204,7 @@ pub async fn download_eml_source(
)
.header("cache-control", "private, no-store")
.body(axum::body::Body::from(raw))
.map_err(|e| AppError::InternalError(format!("Failed to build response: {e}")))?)
.map_err(|e| AppError::InternalError(format!("Failed to build response: {e}")))
}
#[cfg(test)]