Skip to content

Commit 7b1bfcd

Browse files
removed optional businessAreaId param from getContactLists
AUT-4110 Co-authored-by: Bence Kadar <bence.kadar@emarsys.com>
1 parent 10fe111 commit 7b1bfcd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Suite/Api/ContactList.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ public function createContactList(
5151
}
5252
}
5353

54-
public function getContactLists(int $customerId, string $businessAreaId = null)
54+
public function getContactLists(int $customerId)
5555
{
5656
try {
57-
return $this->apiClient->get($this->endPoints->contactLists($customerId, $businessAreaId))['data'];
57+
return $this->apiClient->get($this->endPoints->contactLists($customerId))['data'];
5858
} catch (Error $error) {
5959
throw new RequestFailed('Could not fetch contact lists: ' . $error->getMessage(), $error->getCode(), $error);
6060
}

0 commit comments

Comments
 (0)