Skip to content

Commit de08e15

Browse files
author
wl-it
committed
Create customer bugfix. Second parameter was missing.
1 parent 5436b5e commit de08e15

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)