Skip to content

Commit

Permalink
Set Google redirect route from config in service declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin de Keijzer committed Jan 25, 2023
1 parent 430bfed commit 83d50d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ services:
class: Martin1982\LiveBroadcastBundle\Service\GoogleRedirectService
arguments:
- "@router"
calls:
- setRedirectRoute: ['%livebroadcast.yt.redirect_route%']

live.broadcast.channel_api.client.config.google:
class: Martin1982\LiveBroadcastBundle\Service\ChannelApi\Client\Config\GoogleConfig
arguments:
Expand Down

0 comments on commit 83d50d9

Please sign in to comment.