mirror of
https://github.com/perstarkse/minne.git
synced 2026-07-11 15:22:45 +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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user