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

This commit is contained in:
Mateusz Gruszczyński committed 2026-11-01 21:36:04 +01:00
1 parent dacdf9c27d
commit a116890e20
34 files changed
+186 -83

No files matched your search

+2 -2
View File
@@ -63,9 +63,9 @@ pub async fn list_messages(
Path(folder): Path<String>,
Query(query): Query<ListMessagesQuery>,
) -> Result<Response, AppError> {
if !(1..=200).contains(&query.per_page) {
if !(1..=300).contains(&query.per_page) {
return Err(AppError::BadRequest(
"per_page must be between 1 and 200".to_string(),
"per_page must be between 1 and 300".to_string(),
));
}
if !matches!(