diff --git a/src/Rossedman/Teamwork/Tasklist.php b/src/Rossedman/Teamwork/Tasklist.php index ff1be86..f44091a 100644 --- a/src/Rossedman/Teamwork/Tasklist.php +++ b/src/Rossedman/Teamwork/Tasklist.php @@ -23,7 +23,7 @@ public function find() */ public function update($data) { - return $this->client->put("tasklist/$this->id", [$this->wrapper => $data])->response(); + return $this->client->put("$this->endpoint/$this->id", [$this->wrapper => $data])->response(); } /**