diff options
Diffstat (limited to 'src/db/audit.rs')
| -rw-r--r-- | src/db/audit.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/db/audit.rs b/src/db/audit.rs index ce9d0c8..45a3b46 100644 --- a/src/db/audit.rs +++ b/src/db/audit.rs @@ -60,15 +60,6 @@ impl<'a> AuditEntry<'a> { Self { at, actor_kind: "human", actor, action, entity, entity_id, detail } } - pub fn system( - at: &'a str, - action: &'a str, - entity: &'a str, - entity_id: &'a str, - detail: serde_json::Value, - ) -> Self { - Self { at, actor_kind: "system", actor: "", action, entity, entity_id, detail } - } } pub fn audit_in(tx: &rusqlite::Transaction<'_>, e: &AuditEntry<'_>) -> Result<()> { |
