Skip to content

Commit

Permalink
remove invideoPromotion (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
stickpro authored Sep 15, 2020
1 parent 6f1fc13 commit 948a95a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Youtube.php
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ public function paginateResults($params, $token = null)
* @return \StdClass
* @throws \Exception
*/
public function getChannelByName($username, $optionalParams = [], $part = ['id', 'snippet', 'contentDetails', 'statistics', 'invideoPromotion'])
public function getChannelByName($username, $optionalParams = [], $part = ['id', 'snippet', 'contentDetails', 'statistics'])
{
$API_URL = $this->getApi('channels.list');
$params = [
Expand All @@ -398,7 +398,7 @@ public function getChannelByName($username, $optionalParams = [], $part = ['id',
* @return \StdClass
* @throws \Exception
*/
public function getChannelById($id, $optionalParams = [], $part = ['id', 'snippet', 'contentDetails', 'statistics', 'invideoPromotion'])
public function getChannelById($id, $optionalParams = [], $part = ['id', 'snippet', 'contentDetails', 'statistics'])
{
$API_URL = $this->getApi('channels.list');
$params = [
Expand Down

0 comments on commit 948a95a

Please sign in to comment.