diff --git a/examples/addOrUpdateContact.php b/examples/addOrUpdateContact.php index 02a02e8..50bbbba 100644 --- a/examples/addOrUpdateContact.php +++ b/examples/addOrUpdateContact.php @@ -30,7 +30,7 @@ // attempt to fetch lists in the account, catching any exceptions and printing the errors to screen try { - $lists = $cc->listService->getLists(ACCESS_TOKEN); + $lists = $cc->getLists(ACCESS_TOKEN); } catch (CtctException $ex) { foreach ($ex->getErrors() as $error) { print_r($error);