diff --git a/src/Youtube.php b/src/Youtube.php index 2adb93e..527302c 100644 --- a/src/Youtube.php +++ b/src/Youtube.php @@ -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 = [ @@ -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 = [