Show when an event was triggered via the API directly
This commit is contained in:
parent
4f3651b578
commit
d47a05881b
6 changed files with 26 additions and 2 deletions
|
@ -23,6 +23,7 @@ interface ActivityLog extends Model<'actor'> {
|
|||
batch: UUID | null;
|
||||
event: string;
|
||||
ip: string;
|
||||
isApi: boolean;
|
||||
description: string | null;
|
||||
properties: Record<string, string | unknown>;
|
||||
hasAdditionalMetadata: boolean;
|
||||
|
|
|
@ -34,6 +34,7 @@ export default class Transformers {
|
|||
batch: attributes.batch,
|
||||
event: attributes.event,
|
||||
ip: attributes.ip,
|
||||
isApi: attributes.is_api,
|
||||
description: attributes.description,
|
||||
properties: attributes.properties,
|
||||
hasAdditionalMetadata: attributes.has_additional_metadata ?? false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue