Skip to content

Commit

Permalink
Add maxResults to max value
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurujai committed Mar 6, 2024
1 parent a9497c6 commit c903a2c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Command/DownloadVideosFromYouTubeChannel.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$queryParams = [
'type' => 'video',
'forMine' => true,
'maxResults' => 50,
];

$response = $service->search->listSearch('snippet', $queryParams);
Expand Down
1 change: 1 addition & 0 deletions Command/EstimatedStorageAccountCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$queryParams = [
'type' => 'video',
'forMine' => true,
'maxResults' => 50,
];

if ($input->getOption('live')) {
Expand Down
1 change: 1 addition & 0 deletions Command/ImportVideosFromYouTubeChannel.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$queryParams = [
'type' => 'video',
'forMine' => true,
'maxResults' => 50,
];

$response = $service->search->listSearch('snippet', $queryParams);
Expand Down

0 comments on commit c903a2c

Please sign in to comment.