Skip to content

Commit 6e6e738

Browse files
authored
Merge pull request #14 from bookboon/hotfix/lazy-svc
Mark service as lazy to avoid requesting token at cache:clear time
2 parents 1149a90 + 46f1c36 commit 6e6e738

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Resources/config/services.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ services:
99

1010
Bookboon\Api\Bookboon:
1111
public: true
12+
lazy: true
1213
factory: ['Bookboon\ApiBundle\Service\ApiFactory', create]
1314
arguments:
1415
- '@Bookboon\ApiBundle\Helper\ConfigurationHolder'

0 commit comments

Comments
 (0)