Show when an event was triggered via the API directly

This commit is contained in:
DaneEveritt 2022-06-18 12:52:26 -04:00
parent 4f3651b578
commit d47a05881b
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
6 changed files with 26 additions and 2 deletions

View file

@ -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;

View file

@ -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,