Skip to content

Commit f81a6d8

Browse files
AnujNehraAnujNehra
authored andcommitted
ACP2E-1776: Creating customer(-s) via Async REST API ignores group_id
1 parent 0ec521e commit f81a6d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Customer/Model/AccountManagementApi.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333

3434
/**
3535
* Account Management service implementation for external API access.
36+
*
3637
* Handle various customer account actions.
3738
*
3839
* @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
@@ -131,7 +132,7 @@ public function __construct(
131132
*
132133
* Override createAccount method to unset confirmation attribute for security purposes.
133134
*/
134-
public function createAccount(CustomerInterface $customer, $password = null, $redirectUrl = ''): CustomerInterface
135+
public function createAccount(CustomerInterface $customer, $password = null, $redirectUrl = '')
135136
{
136137
$this->validateCustomerRequest($customer);
137138
$customer = parent::createAccount($customer, $password, $redirectUrl);

0 commit comments

Comments
 (0)