Add support for tracking when an activity event is triggered from an API key
This commit is contained in:
parent
92c1c162af
commit
0520014c0f
7 changed files with 87 additions and 0 deletions
|
@ -19,6 +19,7 @@ class ActivityLogTransformer extends BaseClientTransformer
|
|||
return [
|
||||
'batch' => $model->batch,
|
||||
'event' => $model->event,
|
||||
'is_api' => !is_null($model->api_key_id),
|
||||
'ip' => $model->ip,
|
||||
'description' => $model->description,
|
||||
'properties' => $model->properties ? $model->properties->toArray() : [],
|
||||
|
|
Reference in a new issue