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:
Dionisio
2026-02-12 12:29:12 +01:00
parent 59af22390d
commit 76d9038e5b
5 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -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)