Catch various audit log things

This commit is contained in:
James Cole
2022-10-02 20:13:32 +02:00
parent ca8a65af60
commit d8a15e41e6
7 changed files with 99 additions and 72 deletions

View File

@@ -39,7 +39,7 @@ class ALERepository implements ALERepositoryInterface
$auditLogEntry->auditable()->associate($data['auditable']);
$auditLogEntry->changer()->associate($data['changer']);
$auditLogEntry->action = $data['field'];
$auditLogEntry->action = $data['action'];
$auditLogEntry->before = $data['before'];
$auditLogEntry->after = $data['after'];
$auditLogEntry->save();