Skip to content

Commit 948a95a

Browse files
authored
remove invideoPromotion (#157)
1 parent 6f1fc13 commit 948a95a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Youtube.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ public function paginateResults($params, $token = null)
376376
* @return \StdClass
377377
* @throws \Exception
378378
*/
379-
public function getChannelByName($username, $optionalParams = [], $part = ['id', 'snippet', 'contentDetails', 'statistics', 'invideoPromotion'])
379+
public function getChannelByName($username, $optionalParams = [], $part = ['id', 'snippet', 'contentDetails', 'statistics'])
380380
{
381381
$API_URL = $this->getApi('channels.list');
382382
$params = [
@@ -398,7 +398,7 @@ public function getChannelByName($username, $optionalParams = [], $part = ['id',
398398
* @return \StdClass
399399
* @throws \Exception
400400
*/
401-
public function getChannelById($id, $optionalParams = [], $part = ['id', 'snippet', 'contentDetails', 'statistics', 'invideoPromotion'])
401+
public function getChannelById($id, $optionalParams = [], $part = ['id', 'snippet', 'contentDetails', 'statistics'])
402402
{
403403
$API_URL = $this->getApi('channels.list');
404404
$params = [

0 commit comments

Comments
 (0)