mirror of
https://github.com/perstarkse/minne.git
synced 2026-07-03 11:31:43 +02:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user