Skip to content

Commit

Permalink
Renamed log created event, consistency with other default gateway events
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoLouwerse committed Oct 26, 2023
1 parent 3c504bb commit 425954d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/Logger/SessionDataProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function dispatchLogCreateAction(array $record): array
&& $this->entityManager->getConnection()->getSchemaManager()->tablesExist('action') === true
&& in_array($record['level_name'], ['DEBUG', 'INFO', 'NOTICE', 'WARNING']) === false
){
$event = new ActionEvent('commongateway.action.event', $record, 'core.log.create');
$event = new ActionEvent('commongateway.action.event', $record, 'commongateway.log.create');

$this->eventDispatcher->dispatch($event, 'commongateway.action.event');

Expand Down

0 comments on commit 425954d

Please sign in to comment.