Too few arguments to function ResponseSubscriber::__construct
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3341370. -->
Reported by: [boromino](https://www.drupal.org/user/859722)
Related to !2
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>ArgumentCountError: Too few arguments to function Drupal\json_api_book\EventSubscriber\ResponseSubscriber::__construct(), 1 passed in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 and exactly 2 expected in Drupal\json_api_book\EventSubscriber\ResponseSubscriber->__construct() (line 72 of modules/contrib/json_api_book/src/EventSubscriber/ResponseSubscriber.php). </p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>Call any Drupal page.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Add argument entity_type.manager in json_api_book.services.yml.</p>
issue