Skip to content

Commit

Permalink
upgrade pagelen number to 150
Browse files Browse the repository at this point in the history
  • Loading branch information
David Velasco committed Apr 16, 2017
1 parent 00feb80 commit 2573b2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Bitbucket/API/Http/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ protected function createRequest($method, $url)
// change the response format
if (strpos($url, 'format=') === false) {
$url .= (strpos($url, '?') === false ? '?' : '&').'format='.$this->getResponseFormat();
$url .= (strpos($url, '?') === false ? '?' : '&').'pagelen=150';
}

$request = is_object($this->requestObj) ? $this->requestObj : new Request();
Expand Down

0 comments on commit 2573b2c

Please sign in to comment.