diff --git a/src/Resources/Leads.php b/src/Resources/Leads.php index 7898cad..b09bf26 100644 --- a/src/Resources/Leads.php +++ b/src/Resources/Leads.php @@ -77,9 +77,11 @@ public function updateLabel($id, array $values = []) */ public function update($id, array $values = []) { - $this->request->setResource('leads'); + $values['json'] = true; - return $this->request->get(''); + array_set($values, 'id', $id); + + return $this->request->patch(':id', $values); } /**