]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/ImportBundle/Resources/config/services.yml
Use httplug
[github/wallabag/wallabag.git] / src / Wallabag / ImportBundle / Resources / config / services.yml
index 2dd7dff8cd8b391b3f4edde560f91723a7690164..973c0d03ebb2963e930b39d5535858ea1187b9f5 100644 (file)
@@ -7,13 +7,7 @@ services:
         class: Wallabag\ImportBundle\Import\ImportChain
 
     wallabag_import.pocket.client:
-        class: GuzzleHttp\Client
-        arguments:
-            -
-                defaults:
-                    headers:
-                        content-type: "application/json"
-                        X-Accept: "application/json"
+        alias: 'httplug.client.wallabag_import.pocket.client'
 
     wallabag_import.pocket.import:
         class: Wallabag\ImportBundle\Import\PocketImport