Skip to content

Commit

Permalink
Add missing logger
Browse files Browse the repository at this point in the history
  • Loading branch information
jekuaitk committed Oct 28, 2024
1 parent c45661a commit 3eaaa42
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Drupal\os2forms_dawa\Entity\DatafordelerMatrikula;
use Drupal\os2web_audit\Service\Logger;
use Drupal\os2web_datalookup\Plugin\os2web\DataLookup\DataLookupBase;
use GuzzleHttp\ClientInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
Expand All @@ -30,9 +31,15 @@ class DatafordelerDataLookup extends DataLookupBase implements DatafordelerDataL
/**
* {@inheritdoc}
*/
public function __construct(array $configuration, $plugin_id, $plugin_definition, ClientInterface $httpClient) {
public function __construct(
array $configuration,
$plugin_id,
$plugin_definition,
ClientInterface $httpClient,
Logger $auditLogger,
) {
$this->httpClient = $httpClient;
parent::__construct($configuration, $plugin_id, $plugin_definition);
parent::__construct($configuration, $plugin_id, $plugin_definition, $auditLogger);
}

/**
Expand Down

0 comments on commit 3eaaa42

Please sign in to comment.