Skip to content

Commit

Permalink
TASK: Remove reference to $node->subgraphIdentity->contentStreamId
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed May 20, 2024
1 parent a148e75 commit eaee660
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ private function publishNodePropertiesWereSet(
): EventsToPublish {
$events = Events::with(
new NodePropertiesWereSet(
$node->workspaceName,
$node->subgraphIdentity->contentStreamId,
$this->contentGraph->getWorkspaceName(),
$this->contentGraph->getContentStreamId(),
$node->aggregateId,
$node->originDimensionSpacePoint,
$nodeAggregate->getCoverageByOccupant($node->originDimensionSpacePoint),
Expand All @@ -126,7 +126,7 @@ private function publishNodePropertiesWereSet(
)
);

$streamName = ContentStreamEventStreamName::fromContentStreamId($node->subgraphIdentity->contentStreamId);
$streamName = ContentStreamEventStreamName::fromContentStreamId($this->contentGraph->getContentStreamId());
return new EventsToPublish(
$streamName->getEventStreamName(),
$events,
Expand Down

0 comments on commit eaee660

Please sign in to comment.