From 679517a83f9e8cbf2a4b5ff22904cce55f5aa322 Mon Sep 17 00:00:00 2001 From: Ross Edman Date: Sun, 24 May 2015 23:02:55 -0500 Subject: [PATCH] Fix Tasklist Update --- src/Rossedman/Teamwork/Tasklist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } /**