diff options
Diffstat (limited to 'src/Wallabag/ImportBundle/Resources')
-rw-r--r-- | src/Wallabag/ImportBundle/Resources/config/services.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Wallabag/ImportBundle/Resources/config/services.yml b/src/Wallabag/ImportBundle/Resources/config/services.yml index d77779eb..ab516ca5 100644 --- a/src/Wallabag/ImportBundle/Resources/config/services.yml +++ b/src/Wallabag/ImportBundle/Resources/config/services.yml | |||
@@ -6,3 +6,14 @@ services: | |||
6 | - "@session" | 6 | - "@session" |
7 | - "@doctrine.orm.entity_manager" | 7 | - "@doctrine.orm.entity_manager" |
8 | - %pocket_consumer_key% | 8 | - %pocket_consumer_key% |
9 | calls: | ||
10 | - [ setClient, [ "@wallabag_import.pocket.client" ] ] | ||
11 | |||
12 | wallabag_import.pocket.client: | ||
13 | class: GuzzleHttp\Client | ||
14 | arguments: | ||
15 | - | ||
16 | defaults: | ||
17 | headers: | ||
18 | content-type: "application/json" | ||
19 | X-Accept: "application/json" | ||