Skip to content

Commit 5107803

Browse files
committed
Merge pull request #13 from WondersLabCorporation/pull_request_customer
Create customer bugfix. Second parameter was missing.
2 parents 5436b5e + de08e15 commit 5107803

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Api/Customer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ private function deleteCustomerCache($customer)
128128
*/
129129
public function createCustomer($data)
130130
{
131-
$response = $this->client->request('POST', [
131+
$response = $this->client->request('POST', 'customers', [
132132
'content-type' => 'application/json',
133133
'body' => json_encode($data),
134134
]);

0 commit comments

Comments
 (0)