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 31d585b59f
commit 9609880cff
9 changed files with 18 additions and 19 deletions
@@ -75,7 +75,7 @@ pub async fn extract_text_from_url(
}
let parsed_url =
url::Url::parse(url).map_err(|_| AppError::Validation("Invalid URL".to_string()))?;
url::Url::parse(url).map_err(|_| AppError::Validation("invalid URL".to_string()))?;
let domain = ensure_ingestion_url_allowed(&parsed_url)?;
let timestamp = Utc::now().format("%Y%m%d%H%M%S");