Corregge keyword youtube_channel in SetupBroadcast.

Il job Sidekiq falliva con ArgumentError unknown keyword :channel,
impedendo la creazione broadcast YouTube dopo la sessione API.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-04 00:32:15 +02:00
parent 70e704827e
commit 9fd4d865b3

View File

@@ -18,7 +18,7 @@ module Youtube
return @session if @session.platform != "youtube"
return @session if @session.youtube_broadcast_id.present?
yt = BroadcastService.new(@session.match.team, channel: @youtube_channel)
yt = BroadcastService.new(@session.match.team, youtube_channel: @youtube_channel)
title = "#{@session.match.team.name} vs #{@session.match.opponent_name}"
broadcast = yt.create_broadcast!(
title: title,