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

+1 -1
View File
@@ -479,7 +479,7 @@ pub async fn create_saved_search(
let conn = db::pool::open_user_db(&config.data_dir, &session.user_hash)
.map_err(|e| AppError::InternalError(format!("Failed to open database: {e}")))?;
let saved = db::saved_searches::create(&conn, &data.name, &data.query_string)
.map_err(|e| AppError::BadRequest(e))?;
.map_err(AppError::BadRequest)?;
Ok((axum::http::StatusCode::CREATED, Json(saved)).into_response())
}