Skip to content

Commit

Permalink
Fix event subscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Aug 15, 2024
1 parent eeacebf commit 34bc3c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion soe_profile.services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
parent: default_plugin_manager
soe_profile.event_subscriber:
class: '\Drupal\soe_profile\EventSubscriber\EventSubscriber'
arguments: ['@file_system', '@logger.factory', '@messenger']
arguments: ['@file_system', '@http_client', '@logger.factory', '@messenger']
tags:
- { name: 'event_subscriber' }
soe_profile.config_overrider:
Expand Down
2 changes: 1 addition & 1 deletion src/Config/ConfigOverrides.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public function createConfigObject($name, $collection = StorageInterface::DEFAUL
* {@inheritDoc}
*/
public function getCacheSuffix() {
return 'SoeProfileConfigOverride';
return 'StanfordProfileConfigOverride';
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/EventSubscriber/EventSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public static function getSubscribedEvents() {
* @param \Drupal\Core\Messenger\MessengerInterface $messenger
* Messenger service.
*/
public function __construct(protected FileSystemInterface $fileSystem, LoggerChannelFactoryInterface $logger_factory, protected MessengerInterface $messenger) {
public function __construct(protected FileSystemInterface $fileSystem, protected ClientInterface $client, LoggerChannelFactoryInterface $logger_factory, protected MessengerInterface $messenger) {
$this->logger = $logger_factory->get('soe_profile');
}

Expand Down

0 comments on commit 34bc3c6

Please sign in to comment.