fix: revoke_api_key sets NONE, remove unused bind, lowercase error msgs

- fix bug where revoke_api_key set literal 'test_string_nullish' instead of NONE
- remove unused table_name bind in update_timezone
- lowercase ~16 error messages across 4 crates
This commit is contained in:
Per Stark
2026-05-27 13:56:32 +02:00
parent e2284b1e69
commit cd0d95abaa
9 changed files with 18 additions and 19 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ pub async fn create_knowledge_entity(
) -> Result<impl IntoResponse, HtmlError> {
let name = form.name.trim().to_string();
if name.is_empty() {
return Err(AppError::Validation("Name is required".into()).into());
return Err(AppError::Validation("name is required".into()).into());
}
let description = form.description.trim().to_string();