- edited description
Request for MERGED pull requests returns open requests
Issue #36
invalid
$pull = new Bitbucket\API\Repositories\PullRequests();
$pull->setClient(
new \Bitbucket\API\Http\Client(array('timeout' => 0)));
$pull->setCredentials( new Bitbucket\API\Authentication\Basic($bb_user, $bb_pass) );
$list = $pull->all($account_name, $repo_slug, array('state' => 'MERGED'));
Comments (3)
-
Account Deactivated reporter -
- changed status to wontfix
Because you are creating a custom client instance, you need to enable
NormalizeArrayListener
before making a request:$pull->getClient()->addListener(new \Bitbucket\API\Http\Listener\NormalizeArrayListener());
You can read the class description to find what exactly does.
-
- changed status to invalid
- Log in to comment