Skip to content

Commit

Permalink
Merge pull request #1792 from Jean85/patch-1
Browse files Browse the repository at this point in the history
[2.x] Fix HTTP client definition
  • Loading branch information
stloyd authored Aug 25, 2021
2 parents 5cb6836 + 20e09bf commit 9c5d061
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Resources/config/util.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
<argument>%hwi_oauth.target_path_domains_whitelist%</argument>
</service>

<service id="hwi_oauth.http_client" class="Symfony\Contracts\HttpClient\HttpClientInterface" />
<service id="hwi_oauth.http_client" class="Symfony\Contracts\HttpClient\HttpClientInterface">
<factory class="Symfony\Component\HttpClient\HttpClient" method="create" />
</service>
</services>
</container>

0 comments on commit 9c5d061

Please sign in to comment.