Skip to content

Commit

Permalink
fix: trigger events on metadataReplace call (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
Juiced66 authored Oct 8, 2024
1 parent d6532d7 commit df4b417
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/modules/asset/AssetService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ export class AssetService extends DigitalTwinService {
InternalCollection.ASSETS,
assetId,
updatedPayload.asset._source,
{ triggerEvents: true },
);

await this.assetHistoryService.add<AssetHistoryEventMetadata>(engineId, [
Expand Down

0 comments on commit df4b417

Please sign in to comment.