Skip to content

Commit

Permalink
Add params parameter to getContactsRelations
Browse files Browse the repository at this point in the history
  • Loading branch information
christianruhstaller committed Jan 16, 2019
1 parent 9831844 commit 8d0ce46
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Bexio/Resource/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,12 @@ public function editContact($id, array $params = [])
/**
* Get relations from contacts
*
* @param array $params
* @return mixed
*/
public function getContactsRelations()
public function getContactsRelations(array $params = [])
{
return $this->client->get('contact_relation', []);
return $this->client->get('contact_relation', $params);
}

/**
Expand Down

0 comments on commit 8d0ce46

Please # to comment.