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
+1 -1
View File
@@ -113,7 +113,7 @@ async fn get_and_validate_text_content(
.db
.get_item::<TextContent>(id)
.await?
.ok_or_else(|| AppError::NotFound("Item was not found".to_string()))?;
.ok_or_else(|| AppError::NotFound("item was not found".to_string()))?;
if text_content.user_id != user.id {
return Err(AppError::Auth(