From c09d47a66fd3267ae6e36779a48e887e5cdd8842 Mon Sep 17 00:00:00 2001 From: Abhishek Pokhriyal Date: Tue, 6 Aug 2019 00:08:03 +0530 Subject: [PATCH] Update addOrUpdateContact.php --- examples/addOrUpdateContact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);