Merge branch 'develop' into v2
This commit is contained in:
commit
e384c0d5c3
9 changed files with 43 additions and 63 deletions
|
@ -118,8 +118,8 @@ class AuditLog extends Model
|
|||
'server_id' => null,
|
||||
'action' => $action,
|
||||
'device' => $request ? [
|
||||
'ip_address' => $request->getClientIp(),
|
||||
'user_agent' => $request->userAgent(),
|
||||
'ip_address' => $request->getClientIp() ?? '127.0.0.1',
|
||||
'user_agent' => $request->userAgent() ?? '',
|
||||
] : [],
|
||||
'metadata' => $metadata,
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue