Skip to content

Commit

Permalink
set default id to me in Api\Member\Boards so that a->api('member')->b…
Browse files Browse the repository at this point in the history
…oards()->all() doesn't need an argument (#54)
  • Loading branch information
Joe-brainlabs authored and cdaguerre committed Jan 16, 2018
1 parent bdfabcc commit 579530b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Trello/Api/Member/Boards.php
Expand Up @@ -27,7 +27,7 @@ class Boards extends AbstractApi
*
* @return array
*/
public function all($id, array $params = array())
public function all($id = "me", array $params = array())
{
return $this->get($this->getPath($id), $params);
}
Expand Down

0 comments on commit 579530b

Please sign in to comment.