fix: resolve compiler warnings and downgrade JWT secret log to warn
- Downgrade OXICLOUD_JWT_SECRET missing log from error to warn level, since generating a random secret per session is valid behavior - Remove unused import super::* in calendar_storage_adapter tests - Remove unused import tokio_stream::StreamExt in compression_service tests - Prefix unused validate_user_ownership with _ in trash_service - Add nohup.out to .gitignore
This commit is contained in:
@@ -80,7 +80,7 @@ impl TrashService {
|
||||
/// Validates that the given user owns the trashed item.
|
||||
/// Returns an error if the item does not exist or belongs to a different user.
|
||||
#[instrument(skip(self))]
|
||||
async fn validate_user_ownership(&self, item_id: &str, user_id: &str) -> Result<()> {
|
||||
async fn _validate_user_ownership(&self, item_id: &str, user_id: &str) -> Result<()> {
|
||||
let item_uuid = Uuid::parse_str(item_id)
|
||||
.map_err(|e| DomainError::validation_error(format!("Invalid item ID: {}", e)))?;
|
||||
let user_uuid = Uuid::parse_str(user_id)
|
||||
|
||||
Reference in New Issue
Block a user