Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ A simple create & buy shipment example:
```php
require_once("/path/to/vendor/easypost/autoload.php");

$client = new EasyPostClient(getenv('EASYPOST_API_KEY'));
$client = new \EasyPost\EasyPostClient(getenv('EASYPOST_API_KEY'));

$shipment = $client->shipmemt->create([
"from_address" => [
Expand Down
2 changes: 2 additions & 0 deletions lib/EasyPost/Service/ReferralCustomerService.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ public function create($params = null)
*/
public function updateEmail($email, $userId)
{
// TODO: Swap the order of these params so ID comes first to match all other functions
// this will be a breaking change and must be done when the next major release happens
$wrappedParams = [
'user' => [
'email' => $email
Expand Down