Skip to content

Commit

Permalink
Merge pull request #14 from bookboon/hotfix/lazy-svc
Browse files Browse the repository at this point in the history
Mark service as lazy to avoid requesting token at cache:clear time
  • Loading branch information
lkm authored Jan 28, 2021
2 parents 1149a90 + 46f1c36 commit 6e6e738
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ services:

Bookboon\Api\Bookboon:
public: true
lazy: true
factory: ['Bookboon\ApiBundle\Service\ApiFactory', create]
arguments:
- '@Bookboon\ApiBundle\Helper\ConfigurationHolder'
Expand Down

0 comments on commit 6e6e738

Please sign in to comment.