Projekt

Allgemein

Profil

GX-Bug #50322 » RESTAPIOrderPurchasedDateFix.patch

Till Tepelmann, 15.02.2017 15:28

Unterschiede anzeigen:

src/GXMainComponents/Controllers/Api/v2/OrdersApiV2Controller.inc.php (revision )
399 399

  
400 400
		$storedOrder = $this->orderReadService->getOrderById(new IdType($orderId));
401 401

  
402
		$storedOrder->setPurchaseDateTime($order->getPurchaseDateTime());
403

  
404
		$this->orderWriteService->updateOrder($storedOrder);
405

  
402 406
		$response = $this->orderJsonSerializer->serialize($storedOrder, false);
403 407
		$this->_linkResponse($response);
404 408
		$this->_writeResponse($response, 201);
    (1-1/1)