Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit 579530b

Browse files
Joe-brainlabscdaguerre
authored andcommitted
set default id to me in Api\Member\Boards so that a->api('member')->boards()->all() doesn't need an argument (cdaguerre#54)
1 parent bdfabcc commit 579530b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Trello/Api/Member/Boards.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Boards extends AbstractApi
2727
*
2828
* @return array
2929
*/
30-
public function all($id, array $params = array())
30+
public function all($id = "me", array $params = array())
3131
{
3232
return $this->get($this->getPath($id), $params);
3333
}

0 commit comments

Comments
 (0)