chore: bump deps; fix clippy lints & cleanup
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I4c4815ad145650a07f108614034d2e996a6a6964
This commit is contained in:
parent
c535650f45
commit
cd1161ee5d
41 changed files with 1528 additions and 953 deletions
|
|
@ -6,6 +6,22 @@ use crate::{
|
|||
storage::DynStorageBackend,
|
||||
};
|
||||
|
||||
/// Records an audit action for a media item.
|
||||
///
|
||||
/// # Arguments
|
||||
///
|
||||
/// * `storage` - Storage backend for persistence
|
||||
/// * `media_id` - Optional media item that was affected
|
||||
/// * `action` - The action being performed
|
||||
/// * `details` - Optional additional details
|
||||
///
|
||||
/// # Returns
|
||||
///
|
||||
/// `Ok(())` on success
|
||||
///
|
||||
/// # Errors
|
||||
///
|
||||
/// Returns errors from the storage backend
|
||||
pub async fn record_action(
|
||||
storage: &DynStorageBackend,
|
||||
media_id: Option<MediaId>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue