Commit 36a6ce8e authored by Khumoyunmirzo Sodiqov's avatar Khumoyunmirzo Sodiqov

fix

parent 88f5cd14
...@@ -188,11 +188,11 @@ class DeliverySytemsController extends Controller ...@@ -188,11 +188,11 @@ class DeliverySytemsController extends Controller
$result = $shipService->getProcessShipmentReply($processShipmentRequest); $result = $shipService->getProcessShipmentReply($processShipmentRequest);
if ($result->HighestSeverity == 'ERROR') { if ($result->HighestSeverity == 'ERROR') {
dd($result); // dd($result);
// return response()->json([ return response()->json([
// 'error' => $result->Notifications[0]->Message, 'error' => $result->Notifications[0]->Message,
// 'code' => $result->Notifications[0]->Code 'code' => $result->Notifications[0]->Code
// ], 200); ], 200);
} }
if ($result->HighestSeverity == 'WARNING') { if ($result->HighestSeverity == 'WARNING') {
// dd($result->Notifications[0]->Message); // dd($result->Notifications[0]->Message);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment