Skip to content

Commit

Permalink
Fix transition call parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin de Keijzer committed Aug 5, 2020
1 parent 16c8fdd commit e1085d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Service/ChannelApi/Client/YouTubeClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public function addThumbnailToBroadcast(\Google_Service_YouTube_LiveBroadcast $y
public function endLiveStream($externalId): void
{
try {
$this->youTubeClient->liveBroadcasts->transition('complete', $externalId, 'status');
$this->youTubeClient->liveBroadcasts->transition($externalId, 'complete', 'status');
} catch (\Google_Service_Exception $exception) {
throw new LiveBroadcastOutputException($exception->getMessage());
}
Expand Down

0 comments on commit e1085d1

Please sign in to comment.