-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixing broken Contacts update method (#311)
* fixing broken update method "update" should follow the same pattern as other methods like deleteContact and getContact that require "id" based on the API documentation. * updates tests and README for broken Contact method
- Loading branch information
1 parent
d74376e
commit acb9f20
Showing
3 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,7 @@ $client->contacts->create([ | |
]); | ||
|
||
/** Update a contact */ | ||
$client->contacts->update([ | ||
$client->contacts->update("570680a8a1bcbca8a90001b9", [ | ||
"email" => "[email protected]", | ||
"custom_attributes" => ['foo' => 'bar'] | ||
]); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters