Skip to content

Commit 4f6e4e3

Browse files
committed
AC-1393::Adobe Commerce Admin REST endpoint "orders/{id}/comments" is changing the status of the order when adding comment to the status
1 parent be7a38e commit 4f6e4e3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/code/Magento/Customer/Model/ResourceModel/CustomerRepository.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,6 @@ public function save(CustomerInterface $customer, $passwordHash = null)
204204
if ($customer->getId()) {
205205
$prevCustomerData = $this->getById($customer->getId());
206206
$prevCustomerDataArr = $this->prepareCustomerData($prevCustomerData->__toArray());
207-
208-
/** customer update time change created date is not allowed */
209207
$customer->setCreatedAt($prevCustomerData->getCreatedAt());
210208
}
211209
/** @var $customer \Magento\Customer\Model\Data\Customer */

0 commit comments

Comments
 (0)