diff --git a/lib/Trello/Api/Card/Members.php b/lib/Trello/Api/Card/Members.php index 7a0061d..37e5665 100644 --- a/lib/Trello/Api/Card/Members.php +++ b/lib/Trello/Api/Card/Members.php @@ -46,7 +46,9 @@ public function set($id, array $members) $members = implode(',', $members); - return $this->put($this->getPath($id), array('value' => $members)); + $path = str_replace("/members", "/idMembers", $this->getPath($id)); + + return $this->put($path, array('value' => $members)); } /**